Make CI more friendly to forks

This commit is contained in:
Patrick Nicolas
2024-11-10 17:58:40 +01:00
parent 9bd23ac930
commit 97bacfcd35
2 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -87,7 +87,7 @@ jobs:
- name: Create the flatpak manifest
run: |
git config --global --add safe.directory $(pwd)
tools/gen_flatpak_manifest.sh --git > io.github.wivrn.wivrn.yml
tools/gen_flatpak_manifest.sh --git https://github.com/${{github.repository}}.git > io.github.wivrn.wivrn.yml
# TODO: replace with version > v6.3 when it's released
- uses: flatpak/flatpak-github-actions/flatpak-builder@b8be6bc0ede43cb3a2cc55895654312b14f84a0d
@@ -432,7 +432,7 @@ jobs:
git reset --hard upstream/master
git config --global --add safe.directory $(pwd)
../wivrn/tools/gen_flatpak_manifest.sh --git > io.github.wivrn.wivrn.yml
../wivrn/tools/gen_flatpak_manifest.sh --git https://github.com/${{github.repository}}.git > io.github.wivrn.wivrn.yml
git checkout -b $WIVRN_TAG
git add io.github.wivrn.wivrn.yml