diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..57ca07b --- /dev/null +++ b/.gitea/workflows/test.yml @@ -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 }}"