From 0ac99a8b42e1ef35382ab699ceda6b87482a73cf Mon Sep 17 00:00:00 2001 From: natct Date: Mon, 18 Nov 2024 11:31:53 +0100 Subject: [PATCH] feat(ci): add test for `rna` --- .forgejo/workflows/integration.yml | 3 +++ testdata/upload-download/.forgejo/workflows/test.yml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/integration.yml b/.forgejo/workflows/integration.yml index b92a2db..d3f2543 100644 --- a/.forgejo/workflows/integration.yml +++ b/.forgejo/workflows/integration.yml @@ -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 '' + - name: testdata/upload-download-private run: | export FORGEJO_RUNNER_LOGS="${{ steps.forgejo.outputs.runner-logs }}" diff --git a/testdata/upload-download/.forgejo/workflows/test.yml b/testdata/upload-download/.forgejo/workflows/test.yml index 39d8a62..be2a6a8 100644 --- a/testdata/upload-download/.forgejo/workflows/test.yml +++ b/testdata/upload-download/.forgejo/workflows/test.yml @@ -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') }}