Skip to content

Commit 6f51fbe

Browse files
committed
Fix artifact compatibility - use v4
1 parent 8e91301 commit 6f51fbe

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/ci-release.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ jobs:
88
steps:
99
- uses: actions/checkout@v6
1010
with:
11-
submodules: recursive
11+
submodules: 'true'
12+
13+
- name: Initialize submodules
14+
run: git submodule update --init --recursive
1215

1316
- uses: actions/setup-dotnet@v5
1417
with:
@@ -24,11 +27,10 @@ jobs:
2427
run: dotnet publish -p:PublishSingleFile=true -p:CommitHash=${{ github.sha }} -p:CommitRef=${{ github.ref_type }}/${{ github.ref_name }} -r win-x64 -c Release --self-contained false .\Bloxstrap\Bloxstrap.csproj
2528

2629
- name: Upload Artifact
27-
uses: actions/upload-artifact@v7
30+
uses: actions/upload-artifact@v4
2831
with:
2932
name: BoneFish-Release
3033
path: .\Bloxstrap\bin\Release\net6.0-windows\win-x64\publish\BoneFish.exe
31-
archive: false
3234

3335
release:
3436
needs: build
@@ -39,7 +41,7 @@ jobs:
3941

4042
steps:
4143
- name: Download artifact
42-
uses: actions/download-artifact@v8
44+
uses: actions/download-artifact@v4
4345
with:
4446
name: BoneFish-Release
4547
path: release
@@ -64,7 +66,7 @@ jobs:
6466

6567
steps:
6668
- name: Download artifact
67-
uses: actions/download-artifact@v8
69+
uses: actions/download-artifact@v4
6870
with:
6971
name: BoneFish-Release
7072
path: release
@@ -100,7 +102,7 @@ jobs:
100102
echo "version=$VERSION" >> $GITHUB_OUTPUT
101103
102104
- name: Download artifact
103-
uses: actions/download-artifact@v8
105+
uses: actions/download-artifact@v4
104106
with:
105107
name: BoneFish-Release
106108
path: release

0 commit comments

Comments
 (0)