mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2024-11-21 22:40:58 -05:00
use branch_tip instead of forgejo-test-helper.sh output
This commit is contained in:
parent
fdf3d323b9
commit
241b5920f4
1 changed files with 3 additions and 2 deletions
|
@ -20,8 +20,9 @@ jobs:
|
|||
image-version: 1.20
|
||||
- id: testrepo
|
||||
run: |
|
||||
forgejo-test-helper.sh push testrepo http://testuser:admin1234@${{ steps.forgejo.outputs.host-port }} testuser testrepo > /tmp/output
|
||||
grep '^sha=' < /tmp/output >> $GITHUB_OUTPUT
|
||||
url=http://testuser:admin1234@${{ steps.forgejo.outputs.host-port }}
|
||||
forgejo-test-helper.sh push testrepo $url testuser testrepo > /tmp/output
|
||||
echo sha=$(forgejo-test-helper.sh branch_tip $url testuser/testrepo main) >> $GITHUB_OUTPUT
|
||||
- id: release-upload
|
||||
uses: SELF@vTest
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue