fix(ci): move slash test to the end

otherwise it will have a side effect on the test that checks for the
latest release
This commit is contained in:
Earl Warren 2025-07-26 06:29:33 +02:00
parent a34fc370c5
commit efc7c9870c
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -45,16 +45,6 @@ jobs:
- \backslash escape - \backslash escape
- !exclamation_mark - !exclamation_mark
verbose: true 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_TEST_TOKEN
release-dir: upload-dir-v3
release-notes: "RELEASE NOTES"
verbose: true
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
id: release-download id: release-download
uses: SELF@vTest uses: SELF@vTest
@ -79,6 +69,17 @@ jobs:
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: | run: |
diff -u upload-dir-v2 download-dir-v2 diff -u upload-dir-v2 download-dir-v2
- 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_TEST_TOKEN
release-dir: upload-dir-v3
release-notes: "RELEASE NOTES"
verbose: true
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
id: release-download-with-slash-in-tag id: release-download-with-slash-in-tag
uses: SELF@vTest uses: SELF@vTest
@ -87,7 +88,6 @@ jobs:
tag: a/v3.0 tag: a/v3.0
token: FORGEJO_TEST_TOKEN token: FORGEJO_TEST_TOKEN
release-dir: download-dir-v3 release-dir: download-dir-v3
download-latest: true
verbose: true verbose: true
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: | run: |