Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-jiajia authored Aug 3, 2024
1 parent aa4a280 commit e47810a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5

- name: Get-go
run: go get .
Expand All @@ -25,7 +25,7 @@ jobs:
go build -o "easysso_example_linux"
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4
with:
name: easysso_example_linux
path: easysso_example_linux
Expand All @@ -46,7 +46,7 @@ jobs:
go build -o "easysso_example.exe"
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.1.3
uses: actions/upload-artifact@v4
with:
name: easysso_example.exe
path: easysso_example.exe
Expand All @@ -58,19 +58,19 @@ jobs:
contents: write
steps:
- name: Download Win
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: easysso_example_win.exe
name: easysso_example.exe

- name: Download Linux
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: easysso_example_linux

- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
draft: true
files: |
easysso_example_win.exe
easysso_example.exe
easysso_example_linux

0 comments on commit e47810a

Please sign in to comment.