Skip to content

Commit 092f338

Browse files
committed
Update CI/CD
1 parent 0b5b97a commit 092f338

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

.github/workflows/compilation.yml

+12-10
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,21 @@ jobs:
1212
os: [macos-latest, ubuntu-latest]
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v4
1616

1717
- name: Compile native versions
1818
run: |
1919
make --debug
2020
2121
- name: Get short SHA
2222
id: slug
23-
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
23+
run: |
24+
echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
2425
2526
- name: Create tar archive (keep executable bit)
2627
run: tar -zcvf ps2client-${{ steps.slug.outputs.sha8 }}-${{matrix.os}}.tar.gz bin
2728

28-
- uses: actions/upload-artifact@v2
29+
- uses: actions/upload-artifact@v4
2930
with:
3031
name: ps2client-${{ steps.slug.outputs.sha8 }}-${{matrix.os}}
3132
path: |
@@ -36,7 +37,7 @@ jobs:
3637
container: dockcross/windows-static-x86:latest
3738

3839
steps:
39-
- uses: actions/checkout@v2
40+
- uses: actions/checkout@v4
4041

4142
- name: Compile windows version with cross-compilator
4243
run: |
@@ -49,7 +50,7 @@ jobs:
4950
- name: Create tar archive
5051
run: tar -zcvf ps2client-${{ steps.slug.outputs.sha8 }}-windows-latest.tar.gz bin
5152

52-
- uses: actions/upload-artifact@v2
53+
- uses: actions/upload-artifact@v4
5354
with:
5455
name: ps2client-${{ steps.slug.outputs.sha8 }}-windows-latest
5556
path: |
@@ -60,24 +61,25 @@ jobs:
6061
runs-on: ubuntu-latest
6162
if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master'
6263
steps:
63-
- uses: actions/checkout@v2
64+
- uses: actions/checkout@v4
6465

6566
- name: Get short SHA
6667
id: slug
67-
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
68+
run: |
69+
echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
6870
6971
- name: Download Mac artifact
70-
uses: actions/download-artifact@v2
72+
uses: actions/download-artifact@v4
7173
with:
7274
name: ps2client-${{ steps.slug.outputs.sha8 }}-macos-latest
7375

7476
- name: Download Ubuntu artifact
75-
uses: actions/download-artifact@v2
77+
uses: actions/download-artifact@v4
7678
with:
7779
name: ps2client-${{ steps.slug.outputs.sha8 }}-ubuntu-latest
7880

7981
- name: Download Windows artifact
80-
uses: actions/download-artifact@v2
82+
uses: actions/download-artifact@v4
8183
with:
8284
name: ps2client-${{ steps.slug.outputs.sha8 }}-windows-latest
8385

0 commit comments

Comments
 (0)