mirror of
https://code.forgejo.org/actions/forgejo-release.git
synced 2024-11-09 03:23:32 -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
|
image-version: 1.20
|
||||||
- id: testrepo
|
- id: testrepo
|
||||||
run: |
|
run: |
|
||||||
forgejo-test-helper.sh push testrepo http://testuser:admin1234@${{ steps.forgejo.outputs.host-port }} testuser testrepo > /tmp/output
|
url=http://testuser:admin1234@${{ steps.forgejo.outputs.host-port }}
|
||||||
grep '^sha=' < /tmp/output >> $GITHUB_OUTPUT
|
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
|
- id: release-upload
|
||||||
uses: SELF@vTest
|
uses: SELF@vTest
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue