feat(ci): add test for rna

This commit is contained in:
natct 2024-11-18 11:31:53 +01:00
parent 59d006123b
commit 0ac99a8b42
2 changed files with 4 additions and 1 deletions

View file

@ -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 }}"

View file

@ -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') }}