Skip to content

Release-Go-Binary

Release-Go-Binary #9

Workflow file for this run

name: 'Release-Go-Binary'
on: 'workflow_dispatch'
jobs:
Release-Go-Binary:
runs-on: 'ubuntu-latest'
steps:
- name: 'Checkout'
uses: 'actions/checkout@v4'
- name: 'Build'
uses: 'lslqtz/go-release-action@master'
with:
id: release
goos: 'linux'
goarch: 'amd64'
goversion: 1.19
md5sum: false
sha256sum: false
binary_name: 'go-testproject'
- name: 'Test'
id: test
run: echo "SELECTED_COLOR=green" >> "$GITHUB_OUTPUT"
- name: 'Echo outputs'
run: echo ${{join(steps.release.outputs.*, '\n')}} && echo ${{join(steps.test.outputs.*, '\n')}}
- name: 'Upload GitHub Artifact'
uses: actions/upload-artifact@v4
with:
name: ${{ steps.release.outputs.RELEASE_ASSET_FILE }}
path: ${{ steps.release.outputs.RELEASE_ASSET_PATH }}