mirror of
https://github.com/StikDebug/StikDebug.git
synced 2026-10-16 04:20:30 +00:00
Shorten IPA artifact SHA
This commit is contained in:
parent
22e34051ff
commit
ff030b809a
1 changed files with 6 additions and 2 deletions
8
.github/workflows/build_ipa.yml
vendored
8
.github/workflows/build_ipa.yml
vendored
|
|
@ -58,14 +58,18 @@ jobs:
|
|||
rm -rf Payload StikDebug.app
|
||||
|
||||
- name: 5. Name workflow artifact
|
||||
id: artifact
|
||||
if: env.UPLOAD_IPA == 'true' && (github.event_name == 'push' || github.event_name == 'pull_request')
|
||||
run: cp StikDebug.ipa StikDebug-${{ github.sha }}.ipa
|
||||
run: |
|
||||
file_name="StikDebug-${GITHUB_SHA::7}.ipa"
|
||||
cp StikDebug.ipa "$file_name"
|
||||
echo "file_name=$file_name" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: 6. Store IPA as Workflow Artifact
|
||||
if: env.UPLOAD_IPA == 'true' && (github.event_name == 'push' || github.event_name == 'pull_request')
|
||||
uses: actions/upload-artifact@v7
|
||||
with:
|
||||
path: StikDebug-${{ github.sha }}.ipa
|
||||
path: ${{ steps.artifact.outputs.file_name }}
|
||||
archive: false
|
||||
retention-days: 90
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue