Skip to content

Commit f977697

Browse files
committed
Update CI
1 parent df8620e commit f977697

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/main.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ jobs:
1818
env:
1919
JOB_TYPE: BUILD
2020
steps:
21-
- uses: actions/checkout@v3
22-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v4
2323
with:
2424
repository: acidanthera/MacKernelSDK
2525
path: MacKernelSDK
@@ -31,19 +31,27 @@ jobs:
3131
- run: xcodebuild -jobs 1 -target Package -configuration Release -arch ACID32 -arch x86_64
3232

3333
- name: Upload to Artifacts
34-
uses: actions/upload-artifact@v3
34+
uses: actions/upload-artifact@v4
3535
with:
3636
name: Artifacts
3737
path: build/*/*.zip
38+
- name: Upload to Release
39+
if: github.event_name == 'release'
40+
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
41+
with:
42+
repo_token: ${{ secrets.GITHUB_TOKEN }}
43+
file: build/*/*.zip
44+
tag: ${{ github.ref }}
45+
file_glob: true
3846

3947
analyze-clang:
4048
name: Analyze Clang
4149
runs-on: macos-latest
4250
env:
4351
JOB_TYPE: ANALYZE
4452
steps:
45-
- uses: actions/checkout@v3
46-
- uses: actions/checkout@v3
53+
- uses: actions/checkout@v4
54+
- uses: actions/checkout@v4
4755
with:
4856
repository: acidanthera/MacKernelSDK
4957
path: MacKernelSDK

0 commit comments

Comments
 (0)