Skip to content

Commit 2ac7e39

Browse files
committed
Use newer actions that aren't deprecated
1 parent 4d6b1a0 commit 2ac7e39

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@ jobs:
1111
XCODE_DERIVEDDATA_PATH: build
1212
steps:
1313
- name: Checkout Repository
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v4
1515
with:
1616
submodules: recursive
1717
- name: Install xcpretty
1818
run: gem install xcpretty --no-document --quiet
1919
- name: Build Executable
2020
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
2121
- name: Package Release
22-
run: ditto -c -k --sequesterRsrc --keepParent "$XCODE_DERIVEDDATA_PATH/Build/Products/Release/Submariner.app" "$XCODE_DERIVEDDATA_PATH/Submariner.zip"
22+
run: ditto -c -k --sequesterRsrc --keepParent "$XCODE_DERIVEDDATA_PATH/Build/Products/Release/Submariner.app" "$XCODE_DERIVEDDATA_PATH/Submariner-$GITHUB_SHA.zip"
2323
- name: Archive Release
2424
# XXX: best action type?
25-
uses: actions/upload-artifact@v3
25+
uses: actions/upload-artifact@v4
2626
with:
27-
name: Submariner
28-
path: ${{ env.XCODE_DERIVEDDATA_PATH }}/Submariner.zip
27+
name: Submariner-${{ github.sha }}
28+
path: ${{ env.XCODE_DERIVEDDATA_PATH }}/Submariner-${{ github.sha }}.zip

0 commit comments

Comments
 (0)