diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc8e987..41f79dd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c54093e..2ac623f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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/*