mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-08-29 04:01:03 +00:00
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:
parent
a34fc370c5
commit
efc7c9870c
|
@ -45,16 +45,6 @@ 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_TEST_TOKEN
|
||||
release-dir: upload-dir-v3
|
||||
release-notes: "RELEASE NOTES"
|
||||
verbose: true
|
||||
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||
id: release-download
|
||||
uses: SELF@vTest
|
||||
|
@ -79,6 +69,17 @@ jobs:
|
|||
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||
run: |
|
||||
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') }}
|
||||
id: release-download-with-slash-in-tag
|
||||
uses: SELF@vTest
|
||||
|
@ -87,7 +88,6 @@ jobs:
|
|||
tag: a/v3.0
|
||||
token: FORGEJO_TEST_TOKEN
|
||||
release-dir: download-dir-v3
|
||||
download-latest: true
|
||||
verbose: true
|
||||
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||
run: |
|
||||
|
|
Loading…
Reference in a new issue