Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4 from jandubois/bump-go-version
Browse files Browse the repository at this point in the history
Bump go version 1.16 → 1.20; switch from hub → gh
  • Loading branch information
AkihiroSuda authored Oct 31, 2023
2 parents 48ff73d + c1c0bca commit bd4c18d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
main:
strategy:
matrix:
platform: [ubuntu-20.04, macos-10.15]
platform: [ubuntu-20.04, macos-12]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.16.x
go-version: 1.20.x
- uses: actions/checkout@v2
with:
fetch-depth: 1
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/setup-go@v2
with:
go-version: 1.16.x
go-version: 1.20.x
- uses: actions/checkout@v2
- name: "Compile binaries"
run: make artifacts
Expand Down Expand Up @@ -45,6 +45,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag="${GITHUB_REF##*/}"
asset_flags=()
for f in _artifacts/*; do asset_flags+=("-a" "$f"); done
hub release create "${asset_flags[@]}" -F /tmp/release-note.txt --draft "${tag}"
gh release create -F /tmp/release-note.txt --draft --title "${tag}" "${tag}" _artifacts/*

0 comments on commit bd4c18d

Please sign in to comment.