refactor upload-download test
This commit is contained in:
parent
fb7353f11d
commit
26acdcdb2e
1 changed files with 15 additions and 2 deletions
|
@ -28,6 +28,16 @@ jobs:
|
|||
release-notes: "RELEASE NOTES"
|
||||
override: "true"
|
||||
verbose: true
|
||||
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||
id: release-upload-v2
|
||||
uses: SELF@vTest
|
||||
with:
|
||||
direction: upload
|
||||
tag: v2.0
|
||||
token: FORGEJO_TOKEN
|
||||
release-dir: upload-dir-v2
|
||||
release-notes: "RELEASE NOTES V2"
|
||||
verbose: true
|
||||
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||
id: release-download
|
||||
uses: SELF@vTest
|
||||
|
@ -37,15 +47,18 @@ jobs:
|
|||
token: FORGEJO_TOKEN
|
||||
release-dir: download-dir
|
||||
verbose: true
|
||||
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||
run: |
|
||||
diff -u upload-dir download-dir
|
||||
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||
id: release-download-latest
|
||||
uses: SELF@vTest
|
||||
with:
|
||||
direction: download
|
||||
token: FORGEJO_TOKEN
|
||||
release-dir: download-dir
|
||||
release-dir: download-dir-v2
|
||||
download-latest: true
|
||||
verbose: true
|
||||
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||
run: |
|
||||
diff -u upload-dir download-dir
|
||||
diff -u upload-dir-v2 download-dir-v2
|
||||
|
|
Loading…
Add table
Reference in a new issue