mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2024-11-22 10:13:25 +01:00
use the test forgejo instance
This commit is contained in:
parent
ba4ac4e80d
commit
21454480e1
3 changed files with 7 additions and 5 deletions
|
@ -8,16 +8,18 @@ jobs:
|
||||||
- id: forgejo
|
- id: forgejo
|
||||||
uses: https://code.forgejo.org/actions/setup-forgejo@v1
|
uses: https://code.forgejo.org/actions/setup-forgejo@v1
|
||||||
with:
|
with:
|
||||||
user: root
|
user: testuser
|
||||||
password: admin1234
|
password: admin1234
|
||||||
|
- run: |
|
||||||
|
forgejo-test-helper.sh push testrepo http://testuser:admin1234@${{ steps.forgejo.outputs.host-port }} testuser testrepo
|
||||||
- id: release-upload
|
- id: release-upload
|
||||||
uses: SELF@vTest
|
uses: SELF@vTest
|
||||||
with:
|
with:
|
||||||
direction: upload
|
direction: upload
|
||||||
url: ${{ steps.forgejo.outputs.url }}
|
url: ${{ steps.forgejo.outputs.url }}
|
||||||
repo: root/upload-download
|
repo: testuser/testrepo
|
||||||
tag: v1.0
|
tag: v1.0
|
||||||
doer: root
|
doer: testuser
|
||||||
token: ${{ steps.forgejo.outputs.token }}
|
token: ${{ steps.forgejo.outputs.token }}
|
||||||
release-dir: upload-dir
|
release-dir: upload-dir
|
||||||
verbose: true
|
verbose: true
|
||||||
|
@ -26,9 +28,9 @@ jobs:
|
||||||
with:
|
with:
|
||||||
direction: download
|
direction: download
|
||||||
url: ${{ steps.forgejo.outputs.url }}
|
url: ${{ steps.forgejo.outputs.url }}
|
||||||
repo: root/upload-download
|
repo: testuser/testrepo
|
||||||
tag: v1.0
|
tag: v1.0
|
||||||
doer: root
|
doer: testuser
|
||||||
token: ${{ steps.forgejo.outputs.token }}
|
token: ${{ steps.forgejo.outputs.token }}
|
||||||
release-dir: download-dir
|
release-dir: download-dir
|
||||||
verbose: true
|
verbose: true
|
||||||
|
|
Loading…
Reference in a new issue