Add draft-based e2e test workflow
This commit is contained in:
1 parent
175bc9dccc
commit
fe49ae64b0
1 file changed
+24
@@ -0,0 +1,24 @@
|
||||
name: test-publish-release
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
e2e:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# NOTE: needs network access to github.com. For a fully offline setup,
|
||||
# mirror actions/checkout into git.fristy.net and pin it by SHA.
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
echo "e2e asset one ${{ github.run_id }}" > asset-one.txt
|
||||
echo "e2e asset two ${{ github.run_id }}" > asset-two.txt
|
||||
- id: rel
|
||||
uses: ./
|
||||
with:
|
||||
tag_name: e2e-${{ github.run_id }}
|
||||
name: 'e2e test ${{ github.run_id }}'
|
||||
draft: 'true'
|
||||
files: |
|
||||
asset-*.txt
|
||||
sha256sum: 'true'
|
||||
- run: echo "draft release at ${{ steps.rel.outputs.release_url }}"
|
||||
Reference in new issue
Block a user