mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2025-09-02 06:01:02 +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
|
- \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: |
|
||||||
|
|
Loading…
Reference in a new issue