mirror of
https://code.forgejo.org/actions/forgejo-release
synced 2024-11-23 10:40:39 +00: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'
|
||||
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
|
||||
run: |
|
||||
export FORGEJO_RUNNER_LOGS="${{ steps.forgejo.outputs.runner-logs }}"
|
||||
|
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
tag: v1.0
|
||||
token: FORGEJO_TOKEN
|
||||
release-dir: upload-dir
|
||||
release-notes: "RELEASE NOTES"
|
||||
release-notes-assistant: true
|
||||
override: true
|
||||
verbose: true
|
||||
- if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
|
||||
|
|
Loading…
Reference in a new issue