From 2422c22e78087c615490b760ffb31cec946746a8 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Mon, 9 Sep 2024 18:54:23 -0400 Subject: [PATCH] Fix artifacts file name --- .forgejo/workflows/generate-tarball.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/generate-tarball.yml b/.forgejo/workflows/generate-tarball.yml index 5a95441e8d..23c383f475 100644 --- a/.forgejo/workflows/generate-tarball.yml +++ b/.forgejo/workflows/generate-tarball.yml @@ -31,7 +31,7 @@ jobs: patch -p1 -i .forgejo/patches/ghc-9.8.patch HOME="${{ github.workspace}}"/cabal_cache cabal update HOME="${{ github.workspace}}"/cabal_cache cabal v2-freeze --shadow-installed-packages --strong-flags --flags="+assistant +webapp +pairing +production +torrentparser +magicmime +benchmark -debuglocks +dbus +networkbsd +gitlfs +httpclientrestricted" - mv cabal.project.freeze git-annex-$CI_ALPINE_TARGET_RELEASE.config + mv cabal.project.freeze git-annex.config - name: Package upload uses: forgejo/upload-artifact@v3 with: @@ -57,7 +57,7 @@ jobs: patch -p1 -i .forgejo/patches/ghc-9.8.patch HOME="${{ github.workspace }}"/cabal_cache cabal update HOME="${{ github.workspace }}"/cabal_cache cabal v2-freeze --shadow-installed-packages --strong-flags --flags="+assistant +webapp +pairing +production +torrentparser +magicmime +benchmark -debuglocks +dbus +networkbsd +gitlfs +httpclientrestricted" - mv cabal.project.freeze git-annex-$CI_ALPINE_TARGET_RELEASE.config + mv cabal.project.freeze git-annex.config - name: Package upload uses: forgejo/upload-artifact@v3 with: @@ -78,6 +78,5 @@ jobs: uses: forgejo/download-artifact@v3 - name: Package deployment run: | - find . curl --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file ./cabalconfigedge/git-annex.cabal ${{ github.server_url }}/api/packages/mirrors/generic/git-annex/$CI_REF_NAME/git-annex-$CI_REF_NAME-edge.cabal curl --user ${{ vars.CODE_FORGEJO_USER }}:${{ secrets.CODE_FORGEJO_TOKEN }} --upload-file ./cabalconfig320/git-annex.cabal ${{ github.server_url }}/api/packages/mirrors/generic/git-annex/$CI_REF_NAME/git-annex-$CI_REF_NAME-v320.cabal