-
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update GH actions: checkout to v4 and setup-go to v5
- Loading branch information
1 parent
aa413f9
commit e9d097a
Showing
4 changed files
with
32 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,9 +8,9 @@ jobs: | |
build_on_windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Create Release | ||
- name: Create release | ||
id: create_release | ||
uses: zendesk/action-create-release@v1 | ||
env: | ||
|
@@ -19,10 +19,9 @@ jobs: | |
tag_schema: semantic | ||
|
||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
cache: true | ||
|
||
- name: Build | ||
run: | | ||
|
@@ -43,13 +42,12 @@ jobs: | |
runs-on: macos-latest | ||
needs: build_on_windows | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
cache: true | ||
|
||
- name: Download win release from previous job | ||
uses: actions/download-artifact@v3 | ||
|
@@ -83,13 +81,12 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: build_on_mac | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: go.mod | ||
cache: true | ||
|
||
- name: Download mac release from previous job | ||
uses: actions/download-artifact@v3 | ||
|
@@ -129,7 +126,7 @@ jobs: | |
- uses: AButler/[email protected] | ||
with: | ||
files: '*.zip' | ||
files: "*.zip" | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
release-tag: ${{ env.release_tag }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters