CI/Flatpak: Fix dubious ownership error

This commit is contained in:
Stenzek authored and Connor McLaughlin committed 2024-02-24 14:54:24 +10:00
1 parent 19c3dd8419
commit 4442ff7221
1 file changed
+5 -1
+5 -1
View File
@@ -60,6 +60,11 @@ jobs:
submodules: recursive
set-safe-directory: ${{ env.GITHUB_WORKSPACE }}
# Work around container ownership issue
- name: Set Safe Directory
shell: bash
run: git config --global --add safe.directory "*"
# Hackity hack. When running the workflow on a schedule, we don't have the tag,
# it doesn't fetch tags, therefore we don't get a version. So grab them manually.
# actions/checkout elides tags, fetch them primarily for releases
@@ -92,7 +97,6 @@ jobs:
- name: Generate AppStream XML
run: |
git config --global --add safe.directory "*"
./.github/workflows/scripts/linux/generate-metainfo.sh .github/workflows/scripts/linux/flatpak/net.pcsx2.PCSX2.metainfo.xml
cat .github/workflows/scripts/linux/flatpak/net.pcsx2.PCSX2.metainfo.xml
flatpak-builder-lint appstream .github/workflows/scripts/linux/flatpak/net.pcsx2.PCSX2.metainfo.xml