Skip to content

Commit

Permalink
Bump action versions, migrate to softprops/action-gh-release
Browse files Browse the repository at this point in the history
  • Loading branch information
vedantmgoyal9 authored Oct 2, 2024
1 parent 15f52d1 commit 8fcb9dd
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
env:
JOB_TYPE: BUILD
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: acidanthera/MacKernelSDK
path: MacKernelSDK
Expand All @@ -33,27 +33,26 @@ jobs:
- run: xcodebuild -jobs 1 -target Package -configuration Release

- name: Upload to Artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Artifacts
path: build/*/*/*.zip
- name: Upload to Release
if: github.event_name == 'release'
uses: svenstaro/upload-release-action@e74ff71f7d8a4c4745b560a485cc5fdb9b5b999d
uses: softprops/action-gh-release@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: build/*/*/*.zip
tag: ${{ github.ref }}
file_glob: true

token: ${{ secrets.GITHUB_TOKEN }}
files: build/*/*/*.zip
fail_on_unmatched_files: true
make_latest: true
analyze-clang:
name: Analyze Clang
runs-on: macos-latest
env:
JOB_TYPE: ANALYZE
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: acidanthera/MacKernelSDK
path: MacKernelSDK
Expand All @@ -75,8 +74,8 @@ jobs:
JOB_TYPE: COVERITY
if: github.repository_owner == 'acidanthera' && github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
repository: acidanthera/MacKernelSDK
path: MacKernelSDK
Expand Down

0 comments on commit 8fcb9dd

Please sign in to comment.