mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2024-12-22 18:55:28 +00:00
add release notes
This commit is contained in:
parent
429c93d710
commit
c00160628d
|
@ -22,6 +22,8 @@ inputs:
|
||||||
release-dir:
|
release-dir:
|
||||||
description: 'Directory in whichs release assets are uploaded or downloaded'
|
description: 'Directory in whichs release assets are uploaded or downloaded'
|
||||||
required: true
|
required: true
|
||||||
|
release-notes:
|
||||||
|
description: 'Release notes'
|
||||||
direction:
|
direction:
|
||||||
description: 'Can either be download or upload'
|
description: 'Can either be download or upload'
|
||||||
required: true
|
required: true
|
||||||
|
@ -41,6 +43,7 @@ runs:
|
||||||
export DOER="${{ inputs.doer }}"
|
export DOER="${{ inputs.doer }}"
|
||||||
export TOKEN="${{ inputs.token }}"
|
export TOKEN="${{ inputs.token }}"
|
||||||
export RELEASE_DIR="${{ inputs.release-dir }}"
|
export RELEASE_DIR="${{ inputs.release-dir }}"
|
||||||
|
export RELEASENOTES="${{ inputs.release-notes }}"
|
||||||
export VERBOSE="${{ inputs.verbose }}"
|
export VERBOSE="${{ inputs.verbose }}"
|
||||||
export SHA="${{ inputs.sha }}"
|
export SHA="${{ inputs.sha }}"
|
||||||
if test -z "$SHA"; then
|
if test -z "$SHA"; then
|
||||||
|
|
|
@ -25,6 +25,7 @@ jobs:
|
||||||
doer: testuser
|
doer: testuser
|
||||||
token: ${{ steps.forgejo.outputs.token }}
|
token: ${{ steps.forgejo.outputs.token }}
|
||||||
release-dir: upload-dir
|
release-dir: upload-dir
|
||||||
|
release-notes: "RELEASE NOTES"
|
||||||
verbose: true
|
verbose: true
|
||||||
- id: release-download
|
- id: release-download
|
||||||
uses: SELF@vTest
|
uses: SELF@vTest
|
||||||
|
|
0
testdata/upload-download/testrepo/.placeholder
vendored
Normal file
0
testdata/upload-download/testrepo/.placeholder
vendored
Normal file
Loading…
Reference in a new issue