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