add download-latest test

This commit is contained in:
benniekiss 2024-07-05 20:04:51 +00:00 committed by benniekiss
parent 9e05e3b644
commit 555e241260

View file

@ -37,6 +37,16 @@ jobs:
token: FORGEJO_TOKEN token: FORGEJO_TOKEN
release-dir: download-dir release-dir: download-dir
verbose: true verbose: true
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
id: release-download-latest
uses: SELF@vTest
with:
direction: download
tag: v1.0
token: FORGEJO_TOKEN
release-dir: download-dir
download-latest: true
verbose: true
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }} - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
run: | run: |
diff -u upload-dir download-dir diff -u upload-dir download-dir