Skip to content

Commit

Permalink
ci: install golang in all steps of the release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cbgbt committed Oct 10, 2024
1 parent 8b261fd commit 2361d8d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-go@v5
with:
go-version: "^1.18"
- name: Install cargo-dist
run: ${{ matrix.install-dist }}
- name: Install Cross
Expand Down Expand Up @@ -187,14 +190,19 @@ jobs:
&& (needs.upload-artifacts.result == 'skipped'
|| needs.upload-artifacts.result == 'success')
}}
runs-on: ubuntu-latest
runs-on:
group: bottlerocket
labels: bottlerocket_ubuntu-latest_8-core
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REF_NAME: ${{ github.ref_name }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-go@v5
with:
go-version: "^1.18"
- name: mark release as non-draft
run: |
gh release edit "${GITHUB_REF_NAME}" --draft=false

0 comments on commit 2361d8d

Please sign in to comment.