use the test forgejo instance

This commit is contained in:
Earl Warren 2023-03-29 19:20:39 +02:00
parent ba4ac4e80d
commit 21454480e1
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
3 changed files with 7 additions and 5 deletions

View file

@ -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