25 lines
746 B
YAML
25 lines
746 B
YAML
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 }}"
|