disable redundent action run for release
This commit is contained in:
33
.github/workflows/build.yml
vendored
33
.github/workflows/build.yml
vendored
@@ -107,22 +107,22 @@ jobs:
|
||||
|
||||
|
||||
|
||||
- name: Download Provisioning Profile
|
||||
if: ${{ inputs.upload-artifact && startsWith(matrix.os,'macos') }}
|
||||
uses: Apple-Actions/download-provisioning-profiles@v1
|
||||
with:
|
||||
bundle-id: app.hiddify.com
|
||||
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
|
||||
api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
|
||||
api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
|
||||
- name: Download Provisioning Profile SingBoxPacketTunnel
|
||||
if: ${{ inputs.upload-artifact && startsWith(matrix.os,'macos') }}
|
||||
uses: Apple-Actions/download-provisioning-profiles@v1
|
||||
with:
|
||||
bundle-id: app.hiddify.com.SingBoxPacketTunnel
|
||||
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
|
||||
api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
|
||||
api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
|
||||
# - name: Download Provisioning Profile
|
||||
# if: ${{ inputs.upload-artifact && startsWith(matrix.os,'macos') }}
|
||||
# uses: Apple-Actions/download-provisioning-profiles@v1
|
||||
# with:
|
||||
# bundle-id: app.hiddify.com
|
||||
# issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
|
||||
# api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
|
||||
# api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
|
||||
# - name: Download Provisioning Profile SingBoxPacketTunnel
|
||||
# if: ${{ inputs.upload-artifact && startsWith(matrix.os,'macos') }}
|
||||
# uses: Apple-Actions/download-provisioning-profiles@v1
|
||||
# with:
|
||||
# bundle-id: app.hiddify.com.SingBoxPacketTunnel
|
||||
# issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
|
||||
# api-key-id: ${{ secrets.APPSTORE_API_KEY_ID }}
|
||||
# api-private-key: ${{ secrets.APPSTORE_API_PRIVATE_KEY }}
|
||||
|
||||
|
||||
- name: Setup Flutter
|
||||
@@ -274,6 +274,7 @@ jobs:
|
||||
- name: 'Upload app to TestFlight'
|
||||
if: ${{ inputs.upload-artifact && matrix.platform == 'ios' && inputs.tag-name != 'draft' }}
|
||||
uses: apple-actions/upload-testflight-build@v1
|
||||
continue-on-error: true
|
||||
with:
|
||||
app-path: 'out/Hiddify-iOS.ipa'
|
||||
issuer-id: ${{ secrets.APPSTORE_ISSUER_ID }}
|
||||
|
||||
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -25,6 +25,7 @@ jobs:
|
||||
uses: ./.github/workflows/build.yml
|
||||
secrets: inherit
|
||||
permissions: write-all
|
||||
if: "${{!contains(github.event.head_commit.message, 'release: version')}}"
|
||||
with:
|
||||
upload-artifact: ${{ github.event_name == 'push' }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user