mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
CICD: Make it Possible to Run CICD Builds in a Fork.
Use the project name to resolve the target repository to create the release in. Signed-off-by: Michael Keller <mikeller@042.ch>
This commit is contained in:
parent
2db8b51eed
commit
4bab38b8df
5 changed files with 5 additions and 6 deletions
3
.github/workflows/android.yml
vendored
3
.github/workflows/android.yml
vendored
|
@ -53,7 +53,6 @@ jobs:
|
|||
ln -s /android/platform-tools .
|
||||
ln -s /android/platforms .
|
||||
ln -s /android/tools .
|
||||
ls -l
|
||||
git config --global user.email "ci@subsurface-divelog.org"
|
||||
git config --global user.name "Subsurface CI"
|
||||
git config --global --add safe.directory $GITHUB_WORKSPACE
|
||||
|
@ -72,7 +71,7 @@ jobs:
|
|||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: v${{ steps.version_number.outputs.version }}
|
||||
repository: subsurface/nightly-builds
|
||||
repository: ${{ github.repository_owner }}/nightly-builds
|
||||
token: ${{ secrets.NIGHTLY_BUILDS }}
|
||||
prerelease: false
|
||||
fail_on_unmatched_files: true
|
||||
|
|
2
.github/workflows/linux-trusty-5.12.yml
vendored
2
.github/workflows/linux-trusty-5.12.yml
vendored
|
@ -65,7 +65,7 @@ jobs:
|
|||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: v${{ steps.version_number.outputs.version }}
|
||||
repository: subsurface/nightly-builds
|
||||
repository: ${{ github.repository_owner }}/nightly-builds
|
||||
token: ${{ secrets.NIGHTLY_BUILDS }}
|
||||
prerelease: false
|
||||
fail_on_unmatched_files: true
|
||||
|
|
2
.github/workflows/mac.yml
vendored
2
.github/workflows/mac.yml
vendored
|
@ -60,7 +60,7 @@ jobs:
|
|||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: v${{ steps.version_number.outputs.version }}
|
||||
repository: subsurface/nightly-builds
|
||||
repository: ${{ github.repository_owner }}/nightly-builds
|
||||
token: ${{ secrets.NIGHTLY_BUILDS }}
|
||||
prerelease: false
|
||||
fail_on_unmatched_files: true
|
||||
|
|
2
.github/workflows/post-releasenotes.yml
vendored
2
.github/workflows/post-releasenotes.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: v${{ steps.version_number.outputs.version }}
|
||||
repository: subsurface/nightly-builds
|
||||
repository: ${{ github.repository_owner }}/nightly-builds
|
||||
token: ${{ secrets.NIGHTLY_BUILDS }}
|
||||
prerelease: false
|
||||
files: gh_release_notes.md
|
||||
|
|
2
.github/workflows/windows.yml
vendored
2
.github/workflows/windows.yml
vendored
|
@ -54,7 +54,7 @@ jobs:
|
|||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
tag_name: v${{ steps.version_number.outputs.version }}
|
||||
repository: subsurface/nightly-builds
|
||||
repository: ${{ github.repository_owner }}/nightly-builds
|
||||
token: ${{ secrets.NIGHTLY_BUILDS }}
|
||||
prerelease: false
|
||||
fail_on_unmatched_files: true
|
||||
|
|
Loading…
Reference in a new issue