diff --git a/action.yml b/action.yml index 763b45b..fa4ef3f 100644 --- a/action.yml +++ b/action.yml @@ -22,6 +22,8 @@ inputs: release-dir: description: 'Directory in whichs release assets are uploaded or downloaded' required: true + release-notes: + description: 'Release notes' direction: description: 'Can either be download or upload' required: true @@ -41,6 +43,7 @@ runs: export DOER="${{ inputs.doer }}" export TOKEN="${{ inputs.token }}" export RELEASE_DIR="${{ inputs.release-dir }}" + export RELEASENOTES="${{ inputs.release-notes }}" export VERBOSE="${{ inputs.verbose }}" export SHA="${{ inputs.sha }}" if test -z "$SHA"; then diff --git a/testdata/upload-download/.forgejo/workflows/test.yml b/testdata/upload-download/.forgejo/workflows/test.yml index fd3e7ed..78b1075 100644 --- a/testdata/upload-download/.forgejo/workflows/test.yml +++ b/testdata/upload-download/.forgejo/workflows/test.yml @@ -25,6 +25,7 @@ jobs: doer: testuser token: ${{ steps.forgejo.outputs.token }} release-dir: upload-dir + release-notes: "RELEASE NOTES" verbose: true - id: release-download uses: SELF@vTest diff --git a/testdata/upload-download/testrepo/.placeholder b/testdata/upload-download/testrepo/.placeholder new file mode 100644 index 0000000..e69de29 diff --git a/testdata/upload-download/testrepo/upload-dir/file1.txt b/testdata/upload-download/upload-dir/file1.txt similarity index 100% rename from testdata/upload-download/testrepo/upload-dir/file1.txt rename to testdata/upload-download/upload-dir/file1.txt diff --git a/testdata/upload-download/testrepo/upload-dir/file2.txt b/testdata/upload-download/upload-dir/file2.txt similarity index 100% rename from testdata/upload-download/testrepo/upload-dir/file2.txt rename to testdata/upload-download/upload-dir/file2.txt