From a68c7539a6e377df660f2a024942ac672c68ee73 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 11 Mar 2024 13:57:54 +0100 Subject: [PATCH] chore: create patch for workflow modifications Signed-off-by: Robin Appelman --- .../appstore-build-publish.yml.patch | 25 +++++++++++++++++++ .github/workflows/psalm-matrix.yml.patch | 13 ++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/workflows/appstore-build-publish.yml.patch create mode 100644 .github/workflows/psalm-matrix.yml.patch diff --git a/.github/workflows/appstore-build-publish.yml.patch b/.github/workflows/appstore-build-publish.yml.patch new file mode 100644 index 0000000..2b65b1f --- /dev/null +++ b/.github/workflows/appstore-build-publish.yml.patch @@ -0,0 +1,25 @@ +diff --git a/.github/workflows/appstore-build-publish.yml b/.github/workflows/appstore-build-publish.yml +index 28ddc85..b31cd2e 100644 +--- a/.github/workflows/appstore-build-publish.yml ++++ b/.github/workflows/appstore-build-publish.yml +@@ -17,6 +17,12 @@ jobs: + if: ${{ github.repository_owner == 'nextcloud-releases' }} + + steps: ++ - uses: cachix/install-nix-action@v26 ++ - uses: cachix/cachix-action@v14 ++ with: ++ name: notify-push ++ authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' ++ + - name: Check actor permission + uses: skjnldsv/check-actor-permission@69e92a3c4711150929bca9fcf34448c5bf5526e7 # v3.0 + with: +@@ -32,6 +38,7 @@ jobs: + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + with: + path: ${{ env.APP_NAME }} ++ fetch-depth: 0 + + - name: Get appinfo data + id: appinfo diff --git a/.github/workflows/psalm-matrix.yml.patch b/.github/workflows/psalm-matrix.yml.patch new file mode 100644 index 0000000..4f1b1c4 --- /dev/null +++ b/.github/workflows/psalm-matrix.yml.patch @@ -0,0 +1,13 @@ +diff --git a/.github/workflows/psalm-matrix.yml b/.github/workflows/psalm-matrix.yml +index 8e3d42f..4ee30b7 100644 +--- a/.github/workflows/psalm-matrix.yml ++++ b/.github/workflows/psalm-matrix.yml +@@ -40,7 +40,7 @@ jobs: + uses: shivammathur/setup-php@a4e22b60bbb9c1021113f2860347b0759f66fe5d # v2 + with: + php-version: ${{ matrix.php-versions }} +- extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite ++ extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite, redis + coverage: none + ini-file: development + env: