diff --git a/.gitea/workflows/zip.yaml b/.gitea/workflows/zip.yaml index ea6ea37..cca3473 100644 --- a/.gitea/workflows/zip.yaml +++ b/.gitea/workflows/zip.yaml @@ -24,9 +24,12 @@ jobs: - name: Get current repo id: repo run: echo "::set-output name=repo::$(result=$(echo "basename ${{ gitea.repository }}"))" + + - name: "Verify variable" + run: echo ${GITEA_REPOSITORY#*/} - name: Zip repository - run: zip -r ${{ steps.repo.outputs.repo }}-${{ steps.date.outputs.date }}.zip . -x "*.git*" + run: zip -r ${GITEA_REPOSITORY#*/}-${{ steps.date.outputs.date }}.zip . -x "*.git*" - name: Release artifacts to Gitea repository uses: akkuman/gitea-release-action@v1 @@ -34,6 +37,6 @@ jobs: NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18 with: files: |- - ${{ steps.repo.outputs.repo }}-${{ inputs.version }}.zip + ${GITEA_REPOSITORY#*/}-${{ inputs.version }}.zip tag_name: ${{ inputs.version }} name: Release - ${{ inputs.version }} \ No newline at end of file