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

Commit 95dbad1

Browse files
committed
Bump go version 1.16 → 1.20; switch from hub → gh
Signed-off-by: Jan Dubois <jan.dubois@suse.com>
1 parent 48ff73d commit 95dbad1

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- uses: actions/setup-go@v2
1616
with:
17-
go-version: 1.16.x
17+
go-version: 1.20.x
1818
- uses: actions/checkout@v2
1919
with:
2020
fetch-depth: 1

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/setup-go@v2
1818
with:
19-
go-version: 1.16.x
19+
go-version: 1.20.x
2020
- uses: actions/checkout@v2
2121
- name: "Compile binaries"
2222
run: make artifacts
@@ -45,6 +45,4 @@ jobs:
4545
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4646
run: |
4747
tag="${GITHUB_REF##*/}"
48-
asset_flags=()
49-
for f in _artifacts/*; do asset_flags+=("-a" "$f"); done
50-
hub release create "${asset_flags[@]}" -F /tmp/release-note.txt --draft "${tag}"
48+
gh release create -F /tmp/release-note.txt --draft --title "${tag}" "${tag}" _artifacts/*

0 commit comments

Comments
 (0)