mirror of
https://code.forgejo.org/actions/forgejo-release
synced 2024-11-26 04:00:43 +00:00
29 lines
698 B
YAML
29 lines
698 B
YAML
|
name: Upload & Download a Forgejo Release
|
||
|
on: [push]
|
||
|
jobs:
|
||
|
setup-forgejo:
|
||
|
runs-on: self-hosted
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- id: release-upload
|
||
|
uses: SELF@vTest
|
||
|
with:
|
||
|
url: FORGEJO_URL
|
||
|
direction: upload
|
||
|
tag: v1.0
|
||
|
doer: testuser
|
||
|
release-dir: upload-dir
|
||
|
release-notes: "RELEASE NOTES"
|
||
|
verbose: true
|
||
|
- id: release-download
|
||
|
uses: SELF@vTest
|
||
|
with:
|
||
|
url: FORGEJO_URL
|
||
|
direction: download
|
||
|
tag: v1.0
|
||
|
doer: testuser
|
||
|
release-dir: download-dir
|
||
|
verbose: true
|
||
|
- run: |
|
||
|
diff -u upload-dir download-dir
|