Skip to content

Commit

Permalink
Update GHA dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sionleroux committed Oct 6, 2024
1 parent 9c4fb34 commit b3c2dc8
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.23
- name: Install dependencies
Expand All @@ -23,16 +23,16 @@ jobs:
needs: tests
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.23
- name: Build Windows exe
shell: bash
run: go build
- name: Upload Windows exe
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
with:
name: nokia-defence-win
path: |
Expand All @@ -44,9 +44,9 @@ jobs:
needs: tests
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.23
- name: Build Mac exe
Expand All @@ -56,7 +56,7 @@ jobs:
shell: bash
run: tar -zcvf nokia-defence-mac.tar.gz nokia-defence LICENSE
- name: Upload Mac exe
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
with:
name: nokia-defence-mac
path: nokia-defence-mac.tar.gz
Expand All @@ -66,9 +66,9 @@ jobs:
needs: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.23
- name: Install dependencies
Expand All @@ -81,7 +81,7 @@ jobs:
shell: bash
run: tar -zcvf nokia-defence-lin.tar.gz nokia-defence LICENSE
- name: Upload Linux exe
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
with:
name: nokia-defence-lin
path: nokia-defence-lin.tar.gz
Expand All @@ -91,9 +91,9 @@ jobs:
needs: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.23
- name: Build Web binary
Expand All @@ -103,7 +103,7 @@ jobs:
shell: bash
run: cp $(go env GOROOT)/misc/wasm/wasm_exec.js dist/web/.
- name: Upload Web build
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
with:
name: nokia-defence-web
path: |
Expand All @@ -115,21 +115,21 @@ jobs:
runs-on: ubuntu-latest
needs: [build-lin, build-mac, build-win]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download Windows binary
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: nokia-defence-win
- name: Download Linux binary
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: nokia-defence-lin
- name: Download Mac binary
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
with:
name: nokia-defence-mac
- name: Upload beta testing bundle
uses: actions/upload-artifact@v2.2.4
uses: actions/upload-artifact@v3
with:
name: nokia-defence-bundle
path: |
Expand All @@ -145,7 +145,7 @@ jobs:
needs: build-win
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: nokia-defence-win
- uses: josephbmanley/butler-publish-itchio-action@master
Expand All @@ -163,7 +163,7 @@ jobs:
needs: build-mac
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: nokia-defence-mac
- name: Extract tarball
Expand All @@ -184,7 +184,7 @@ jobs:
needs: build-lin
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: nokia-defence-lin
- name: Extract tarball
Expand All @@ -205,7 +205,7 @@ jobs:
needs: build-web
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: nokia-defence-web
- uses: josephbmanley/butler-publish-itchio-action@master
Expand Down

0 comments on commit b3c2dc8

Please sign in to comment.