Skip to content

Commit f84e64e

Browse files
committed
Attempt to make gh release create command non-interactive.
1 parent a274d7e commit f84e64e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-positive.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ jobs:
2020
- id: sha-short
2121
run: echo "result=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
2222

23-
- run: gh release create v1.0.0+test+${{ steps.sha-short.outputs.result }} --prerelease --target ${{ github.sha }}
23+
- run: gh release create v0.1.0-test.${{ steps.sha-short.outputs.result }} --prerelease --target ${{ github.sha }} --notes "Prerelease used for tests (will be automatically deleted)."
2424
env:
2525
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2626

2727
- uses: ./
2828
id: current
2929
with:
30-
include_regex: "/v1\\.0\\.0\\+test\\+*./g"
30+
include_regex: "/v0\\.1\\.0-test\\.*./g"
3131

3232
outputs:
33-
release: v1.0.0+test+${{ steps.sha-short.outputs.result }}
33+
release: v0.1.0-test.${{ steps.sha-short.outputs.result }}
3434

3535
assert:
3636
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)