26 lines
644 B
YAML
26 lines
644 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:
|
|
direction: upload
|
|
tag: v1.0
|
|
doer: testuser
|
|
release-dir: upload-dir
|
|
release-notes: "RELEASE NOTES"
|
|
verbose: true
|
|
- id: release-download
|
|
uses: SELF@vTest
|
|
with:
|
|
direction: download
|
|
tag: v1.0
|
|
doer: testuser
|
|
release-dir: download-dir
|
|
verbose: true
|
|
- run: |
|
|
diff -u upload-dir download-dir
|