Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to shared-actions v2 #57

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
name: Build OSX
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install osx tools
run: |
brew tap mitchellh/gon
brew install mitchellh/gon/gon
- name: Setup go
uses: actions/setup-go@v4.0.0
uses: actions/setup-go@v5
with:
go-version: ${{ needs.build_init.outputs.go_version }}
- name: Import Code-Signing Certificates
Expand All @@ -46,7 +46,7 @@ jobs:
AC_PASSWORD: ${{ secrets.AC_PASSWORD }}
run: |
gon -log-level=info -log-json ./gon.json
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: osx-zip
path: build/*.zip
Expand All @@ -58,15 +58,15 @@ jobs:
name: Build Linux
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v4.0.0
uses: actions/setup-go@v5
with:
go-version: ${{ needs.build_init.outputs.go_version }}
- name: Build linux binary
run: |
make release linux-release
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: linux-zip
path: build/*.zip
Expand All @@ -80,7 +80,7 @@ jobs:
name: Create Release
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Create release ${{ needs.build_init.outputs.version }}
uses: actions/create-release@v1
id: create_release
Expand All @@ -104,21 +104,21 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
-
name: Setup go
uses: actions/setup-go@v4.0.0
uses: actions/setup-go@v5
with:
go-version: ${{ needs.build_init.outputs.go_version }}
-
name: Download linux zip artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: linux-zip
path: build/
-
name: Download osx zip artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: osx-zip
path: build/
Expand All @@ -141,4 +141,4 @@ jobs:
upload_url: ${{ needs.create_release.outputs.release_url }}
asset_path: ./build/jwt-wallet-linux-amd64-${{ needs.build_init.outputs.version }}.zip
asset_name: jwt-wallet-linux-amd64-${{ needs.build_init.outputs.version }}.zip
asset_content_type: application/octet-stream
asset_content_type: application/octet-stream
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Checkout
uses: actions/checkout@master
- name: Setup go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.18
- name: Go mod vendor
Expand Down