Skip to content

Commit

Permalink
Use newer actions that aren't deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
NattyNarwhal committed Dec 13, 2024
1 parent 4d6b1a0 commit 2ac7e39
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
XCODE_DERIVEDDATA_PATH: build
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install xcpretty
run: gem install xcpretty --no-document --quiet
- name: Build Executable
run: xcodebuild build -configuration Release -project Submariner.xcodeproj -scheme Submariner -arch x86_64 -arch arm64 -derivedDataPath $XCODE_DERIVEDDATA_PATH CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= | xcpretty -c
- name: Package Release
run: ditto -c -k --sequesterRsrc --keepParent "$XCODE_DERIVEDDATA_PATH/Build/Products/Release/Submariner.app" "$XCODE_DERIVEDDATA_PATH/Submariner.zip"
run: ditto -c -k --sequesterRsrc --keepParent "$XCODE_DERIVEDDATA_PATH/Build/Products/Release/Submariner.app" "$XCODE_DERIVEDDATA_PATH/Submariner-$GITHUB_SHA.zip"
- name: Archive Release
# XXX: best action type?
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Submariner
path: ${{ env.XCODE_DERIVEDDATA_PATH }}/Submariner.zip
name: Submariner-${{ github.sha }}
path: ${{ env.XCODE_DERIVEDDATA_PATH }}/Submariner-${{ github.sha }}.zip

0 comments on commit 2ac7e39

Please sign in to comment.