mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-21 19:09:20 +00:00
Merge pull request #4005 from element-hq/johannes/dry
Avoid usage of SWIFT_RELEASE_TOKEN in dry runs
This commit is contained in:
@@ -237,7 +237,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: element-hq/element-call-swift
|
repository: element-hq/element-call-swift
|
||||||
path: element-call-swift
|
path: element-call-swift
|
||||||
token: ${{ secrets.SWIFT_RELEASE_TOKEN }}
|
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Copy files
|
- name: Copy files
|
||||||
@@ -268,9 +267,10 @@ jobs:
|
|||||||
GITHUB_EVENT_RELEASE_HTML_URL: ${{ github.event.release.html_url }}
|
GITHUB_EVENT_RELEASE_HTML_URL: ${{ github.event.release.html_url }}
|
||||||
|
|
||||||
- name: Push
|
- name: Push
|
||||||
|
if: ${{ needs.versioning.outputs.DRY_RUN == 'false' }}
|
||||||
working-directory: element-call-swift
|
working-directory: element-call-swift
|
||||||
run: |
|
run: |
|
||||||
git push "https://x-access-token:${SWIFT_RELEASE_TOKEN}@github.com/element-hq/element-call-swift.git" --tags ${{ needs.versioning.outputs.DRY_RUN == 'true' && '--dry-run' || '' }}
|
git push "https://x-access-token:${SWIFT_RELEASE_TOKEN}@github.com/element-hq/element-call-swift.git" --tags
|
||||||
env:
|
env:
|
||||||
SWIFT_RELEASE_TOKEN: ${{ secrets.SWIFT_RELEASE_TOKEN }}
|
SWIFT_RELEASE_TOKEN: ${{ secrets.SWIFT_RELEASE_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user