Skip to content

Commit 03777ab

Browse files
authored
Merge pull request #305 from notimaginative/update_github_actions
update all github actions to the newest versions
2 parents 908900b + 9f16619 commit 03777ab

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/build_release.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: windows-latest
2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
2525
fetch-depth: 0
2626
ref: '${{ github.ref }}'
@@ -32,7 +32,7 @@ jobs:
3232
echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-6)" >> $GITHUB_ENV
3333
3434
- name: Setup .NET
35-
uses: actions/setup-dotnet@v3
35+
uses: actions/setup-dotnet@v4
3636
with:
3737
dotnet-version: '6.0.x'
3838

@@ -53,7 +53,7 @@ jobs:
5353
tar -czvf win-builds.tgz --exclude='*.pdb' *
5454
5555
- name: Upload build archive
56-
uses: actions/upload-artifact@v3
56+
uses: actions/upload-artifact@v4
5757
with:
5858
name: win-builds
5959
path: ${{ env.PUBLISH_DIR }}/win-builds.tgz
@@ -64,7 +64,7 @@ jobs:
6464
runs-on: macos-latest
6565
steps:
6666
- name: Checkout code
67-
uses: actions/checkout@v3
67+
uses: actions/checkout@v4
6868
with:
6969
fetch-depth: 0
7070
ref: '${{ github.ref }}'
@@ -76,7 +76,7 @@ jobs:
7676
echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-6)" >> $GITHUB_ENV
7777
7878
- name: Setup .NET
79-
uses: actions/setup-dotnet@v3
79+
uses: actions/setup-dotnet@v4
8080
with:
8181
dotnet-version: '6.0.x'
8282

@@ -97,7 +97,7 @@ jobs:
9797
tar -czvf mac-builds.tgz --exclude='*.pdb' *
9898
9999
- name: Upload build archive
100-
uses: actions/upload-artifact@v3
100+
uses: actions/upload-artifact@v4
101101
with:
102102
name: mac-builds
103103
path: ${{ env.PUBLISH_DIR }}/mac-builds.tgz
@@ -109,7 +109,7 @@ jobs:
109109
runs-on: ubuntu-latest
110110
steps:
111111
- name: Checkout code
112-
uses: actions/checkout@v3
112+
uses: actions/checkout@v4
113113
with:
114114
fetch-depth: 0
115115
ref: '${{ github.ref }}'
@@ -132,7 +132,7 @@ jobs:
132132
run: sudo apt-get update && sudo apt-get install zip nsis
133133

134134
- name: Setup .NET
135-
uses: actions/setup-dotnet@v3
135+
uses: actions/setup-dotnet@v4
136136
with:
137137
dotnet-version: '6.0.x'
138138

@@ -141,13 +141,13 @@ jobs:
141141
run: ./ci/publish_all_host.sh
142142

143143
- name: Download Windows build artifact
144-
uses: actions/download-artifact@v3
144+
uses: actions/download-artifact@v4
145145
with:
146146
name: win-builds
147147
path: ${{ env.PUBLISH_DIR }}
148148

149149
- name: Download macOS build artifact
150-
uses: actions/download-artifact@v3
150+
uses: actions/download-artifact@v4
151151
with:
152152
name: mac-builds
153153
path: ${{ env.PUBLISH_DIR }}
@@ -184,7 +184,7 @@ jobs:
184184
cat checksums.txt
185185
186186
- name: Generate Release
187-
uses: softprops/action-gh-release@v1
187+
uses: softprops/action-gh-release@v2
188188
with:
189189
draft: true
190190
files: ${{ env.OUTPUT_DIR }}/*

0 commit comments

Comments
 (0)