From 446edda2c3b48818e50f03180c10650d6c9ea95b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw?= <6031763+stsdc@users.noreply.github.com> Date: Wed, 22 Feb 2023 18:59:19 +0100 Subject: [PATCH 1/2] Update publish-copr.yml --- .github/workflows/publish-copr.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-copr.yml b/.github/workflows/publish-copr.yml index 2ee41573..0a4baf5a 100644 --- a/.github/workflows/publish-copr.yml +++ b/.github/workflows/publish-copr.yml @@ -35,6 +35,7 @@ jobs: - name: Archive the source run: | + git config --global --add safe.directory /__w/monitor/monitor git archive --prefix "monitor/" -o "monitor.tar" HEAD git submodule foreach --recursive "git archive --prefix=monitor/\$path/ --output=\$sha1.tar HEAD && tar --concatenate --file=$(pwd)/monitor.tar \$sha1.tar && rm \$sha1.tar" gzip "monitor.tar" From af01a2bf352dfde0ea25a343945b993896b45ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw?= <6031763+stsdc@users.noreply.github.com> Date: Wed, 22 Feb 2023 19:06:46 +0100 Subject: [PATCH 2/2] Update publish-copr.yml --- .github/workflows/publish-copr.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish-copr.yml b/.github/workflows/publish-copr.yml index 0a4baf5a..09394d17 100644 --- a/.github/workflows/publish-copr.yml +++ b/.github/workflows/publish-copr.yml @@ -8,7 +8,7 @@ on: jobs: build: name: Submit a build for Copr - container: fedora:latest + container: fedora:36 runs-on: ubuntu-latest steps: @@ -35,7 +35,6 @@ jobs: - name: Archive the source run: | - git config --global --add safe.directory /__w/monitor/monitor git archive --prefix "monitor/" -o "monitor.tar" HEAD git submodule foreach --recursive "git archive --prefix=monitor/\$path/ --output=\$sha1.tar HEAD && tar --concatenate --file=$(pwd)/monitor.tar \$sha1.tar && rm \$sha1.tar" gzip "monitor.tar"