forgejo-release/testdata/upload-download/.forgejo/workflows/test.yml

29 lines
698 B
YAML
Raw Normal View History

2023-03-30 09:52:59 +03:00
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