mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2024-12-22 15:45:48 +02:00
feat(ci): add test for rna
This commit is contained in:
parent
59d006123b
commit
0ac99a8b42
2 changed files with 4 additions and 1 deletions
|
@ -32,6 +32,9 @@ jobs:
|
||||||
- !exclamation_mark'
|
- !exclamation_mark'
|
||||||
test "$EXPECTED" = "$(jq -r .body < /tmp/release.json)"
|
test "$EXPECTED" = "$(jq -r .body < /tmp/release.json)"
|
||||||
|
|
||||||
|
curl --fail -sS $FORGEJO/api/v1/repos/testuser/upload-download/releases/tags/v1.0 > /tmp/v1.json
|
||||||
|
cat /tmp/v1.json | jq -r .body | grep '<!--start release-notes-assistant-->'
|
||||||
|
|
||||||
- name: testdata/upload-download-private
|
- name: testdata/upload-download-private
|
||||||
run: |
|
run: |
|
||||||
export FORGEJO_RUNNER_LOGS="${{ steps.forgejo.outputs.runner-logs }}"
|
export FORGEJO_RUNNER_LOGS="${{ steps.forgejo.outputs.runner-logs }}"
|
||||||
|
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
tag: v1.0
|
tag: v1.0
|
||||||
token: FORGEJO_TOKEN
|
token: FORGEJO_TOKEN
|
||||||
release-dir: upload-dir
|
release-dir: upload-dir
|
||||||
release-notes: "RELEASE NOTES"
|
release-notes-assistant: true
|
||||||
override: true
|
override: true
|
||||||
verbose: true
|
verbose: true
|
||||||
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||||
|
|
Loading…
Reference in a new issue