mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:23:25 +00:00
CICD: Don't generate build number for pull requests.
Prevent attempts to generate a build number for pull request builds as they will fail due to the lack of permissions on the `subsurface/nightly-builds` repository. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
fa609a9e9b
commit
3d902864ed
3 changed files with 3 additions and 0 deletions
1
.github/workflows/android.yml
vendored
1
.github/workflows/android.yml
vendored
|
@ -19,6 +19,7 @@ jobs:
|
|||
|
||||
- name: atomically create or retrieve the build number
|
||||
id: build_nr
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
cd .. # check out parallel to subsurface sources
|
||||
url="https://subsurface:${{ secrets.NIGHTLY_BUILDS }}@github.com/subsurface/nightly-builds"
|
||||
|
|
1
.github/workflows/mac.yml
vendored
1
.github/workflows/mac.yml
vendored
|
@ -15,6 +15,7 @@ jobs:
|
|||
uses: actions/checkout@v1
|
||||
- name: atomically create or retrieve the build number
|
||||
id: build_nr
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
cd .. # check out parallel to subsurface sources
|
||||
url="https://subsurface:${{ secrets.NIGHTLY_BUILDS }}@github.com/subsurface/nightly-builds"
|
||||
|
|
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
|
@ -19,6 +19,7 @@ jobs:
|
|||
|
||||
- name: atomically create or retrieve the build number
|
||||
id: build_nr
|
||||
if: github.event_name == 'push'
|
||||
run: |
|
||||
cd .. # check out parallel to subsurface sources
|
||||
url="https://subsurface:${{ secrets.NIGHTLY_BUILDS }}@github.com/subsurface/nightly-builds"
|
||||
|
|
Loading…
Add table
Reference in a new issue