Skip to content

Commit 09e405d

Browse files
committed
2025.08.05
1 parent 92fb147 commit 09e405d

File tree

2 files changed

+21
-19
lines changed

2 files changed

+21
-19
lines changed

.github/workflows/go.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818

1919
- name: Extract version
2020
id: get_version
21-
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
21+
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
2222

2323
- name: Set up Go 1.x
24-
uses: actions/setup-go@v2
24+
uses: actions/setup-go@v5
2525
with:
26-
go-version: 1.20.1
26+
go-version: 1.21
2727

2828
- name: Check out code into the Go module directory
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v4
3030

3131
- name: Get dependencies
3232
run: go mod download
@@ -35,7 +35,7 @@ jobs:
3535
run: go build -o linux-main-${{ steps.get_version.outputs.VERSION }}
3636

3737
- name: Upload artifact
38-
uses: actions/upload-artifact@v2
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: linux-main-${{ steps.get_version.outputs.VERSION }}
4141
path: ./linux-main-${{ steps.get_version.outputs.VERSION }}
@@ -47,15 +47,16 @@ jobs:
4747

4848
- name: Extract version
4949
id: get_version
50-
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
50+
shell: bash
51+
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
5152

5253
- name: Check out code
53-
uses: actions/checkout@v2
54+
uses: actions/checkout@v4
5455

5556
- name: Set up Go
56-
uses: actions/setup-go@v2
57+
uses: actions/setup-go@v5
5758
with:
58-
go-version: 1.20.1
59+
go-version: 1.21
5960

6061
- name: Get dependencies
6162
run: go mod download
@@ -64,7 +65,7 @@ jobs:
6465
run: go build -o win-main-${{ steps.get_version.outputs.VERSION }}.exe
6566

6667
- name: Upload artifact
67-
uses: actions/upload-artifact@v2
68+
uses: actions/upload-artifact@v4
6869
with:
6970
name: win-main-${{ steps.get_version.outputs.VERSION }}.exe
7071
path: ./win-main-${{ steps.get_version.outputs.VERSION }}.exe
@@ -76,15 +77,16 @@ jobs:
7677

7778
- name: Extract version
7879
id: get_version
79-
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/}
80+
shell: bash
81+
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
8082

8183
- name: Check out code
82-
uses: actions/checkout@v2
84+
uses: actions/checkout@v4
8385

8486
- name: Set up Go
85-
uses: actions/setup-go@v2
87+
uses: actions/setup-go@v5
8688
with:
87-
go-version: 1.20.1
89+
go-version: 1.21
8890

8991
- name: Get dependencies
9092
run: go mod download
@@ -93,7 +95,7 @@ jobs:
9395
run: go build -o mac-main-${{ steps.get_version.outputs.VERSION }}
9496

9597
- name: Upload artifact
96-
uses: actions/upload-artifact@v2
98+
uses: actions/upload-artifact@v4
9799
with:
98100
name: mac-main-${{ steps.get_version.outputs.VERSION }}
99101
path: ./mac-main-${{ steps.get_version.outputs.VERSION }}

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
version: ${{ steps.version.outputs.VERSION }}
2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
2626
token: ${{ secrets.GITHUB_TOKEN }}
2727

2828
- name: Set up Go
29-
uses: actions/setup-go@v4
29+
uses: actions/setup-go@v5
3030
with:
3131
go-version: '1.21'
3232

@@ -114,7 +114,7 @@ jobs:
114114
generate_release_notes: true
115115

116116
- name: Upload artifacts
117-
uses: actions/upload-artifact@v3
117+
uses: actions/upload-artifact@v4
118118
if: github.event_name == 'push' && !contains(github.event.head_commit.message, '[release]')
119119
with:
120120
name: proofofaccess-binaries
@@ -127,7 +127,7 @@ jobs:
127127
if: github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, '[release]')
128128
steps:
129129
- name: Checkout code
130-
uses: actions/checkout@v3
130+
uses: actions/checkout@v4
131131

132132
- name: Setup Node.js
133133
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)