actions-forgejo-release/testdata/upload-download/.forgejo/workflows/test.yml
2023-03-30 10:43:52 +02:00

28 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