CI/Flatpak: Fix dubious ownership error

This commit is contained in:
Stenzek 2024-02-24 14:36:31 +10:00 committed by Connor McLaughlin
parent 19c3dd8419
commit 4442ff7221
1 changed files with 5 additions and 1 deletions

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