diff --git a/testdata/upload-download/.forgejo/workflows/test.yml b/testdata/upload-download/.forgejo/workflows/test.yml index 40ac087..e034756 100644 --- a/testdata/upload-download/.forgejo/workflows/test.yml +++ b/testdata/upload-download/.forgejo/workflows/test.yml @@ -17,16 +17,6 @@ jobs: release-dir: upload-dir release-notes: "RELEASE NOTES" verbose: true - - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - id: release-upload-slash-in-tag - uses: SELF@vTest - with: - direction: upload - tag: a/v1.0 - token: FORGEJO_TOKEN - release-dir: upload-dir - release-notes: "RELEASE NOTES" - verbose: true - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} id: release-upload-override uses: SELF@vTest @@ -39,18 +29,6 @@ jobs: hide-archive-link: true override: true verbose: true - - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - id: release-upload-override-slash-in-tag - uses: SELF@vTest - with: - direction: upload - tag: a/v1.0 - token: FORGEJO_TOKEN - release-dir: upload-dir - release-notes-assistant: true - hide-archive-link: true - override: true - verbose: true - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} id: release-upload-v2 uses: SELF@vTest @@ -67,6 +45,28 @@ jobs: - \backslash escape - !exclamation_mark verbose: true + - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} + id: release-upload-slash-in-tag + uses: SELF@vTest + with: + direction: upload + tag: a/v3.0 + token: FORGEJO_TOKEN + release-dir: upload-dir + release-notes: "RELEASE NOTES" + verbose: true + - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} + id: release-upload-override-slash-in-tag + uses: SELF@vTest + with: + direction: upload + tag: a/v3.0 + token: FORGEJO_TOKEN + release-dir: upload-dir + release-notes-assistant: true + hide-archive-link: true + override: true + verbose: true - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} id: release-download uses: SELF@vTest