From 618d2be743f89d05aee2a2364641b90ee8d4adea Mon Sep 17 00:00:00 2001 From: Merlin Jehli Date: Fri, 13 Oct 2023 23:23:03 +0200 Subject: [PATCH] url --- action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 3e90308..505956c 100644 --- a/action.yml +++ b/action.yml @@ -41,14 +41,14 @@ runs: du -sh $f curl --user "${{ gitea.actor }}:${{ secrets.PACKET_TOKEN }}" \ --upload-file "$f" \ - "https://git.fml128.ch/api/packages/fml128/generic/idkyet-fml128/${{ steps.version.outputs.RELEASE_VERSION }}/$f" + "https://git.fml128.ch/api/packages/${{ github.repository_owner }}/generic/${GITHUB_REPOSITORY#*/}/${{ steps.version.outputs.RELEASE_VERSION }}/$f" done - name: If failure delete packages if: failure() run: | curl --user "${{ gitea.actor }}:${{ secrets.PACKET_TOKEN }}" \ -X DELETE \ - "https://git.fml128.ch/api/packages/fml128/generic/idkyet-fml128/${{ steps.version.outputs.RELEASE_VERSION }}" + "https://git.fml128.ch/api/packages/${{ github.repository_owner }}/generic/${GITHUB_REPOSITORY#*/}/${{ steps.version.outputs.RELEASE_VERSION }}" - name: Save aur cache id: cache-aur-save uses: actions/cache/save@v3