Navegador
ci: add workflow_dispatch to release-binaries for manual trigger
Commit
1e364db043bb46ae4abef4869ca54f5738a2a7d3fab2a8a976bb77c5594f99fb
Parent
436ffa93a5b2b1a…
1 file changed
+7
| --- .github/workflows/release-binaries.yml | ||
| +++ .github/workflows/release-binaries.yml | ||
| @@ -1,10 +1,16 @@ | ||
| 1 | 1 | name: Build Release Binaries |
| 2 | 2 | |
| 3 | 3 | on: |
| 4 | 4 | release: |
| 5 | 5 | types: [published] |
| 6 | + workflow_dispatch: | |
| 7 | + inputs: | |
| 8 | + tag: | |
| 9 | + description: "Release tag to attach binaries to (e.g. v0.1.0)" | |
| 10 | + required: true | |
| 11 | + default: "v0.1.0" | |
| 6 | 12 | |
| 7 | 13 | permissions: |
| 8 | 14 | contents: write |
| 9 | 15 | |
| 10 | 16 | jobs: |
| @@ -66,6 +72,7 @@ | ||
| 66 | 72 | navegador/cli/commands.py |
| 67 | 73 | |
| 68 | 74 | - name: Upload binary to release |
| 69 | 75 | uses: softprops/action-gh-release@v2 |
| 70 | 76 | with: |
| 77 | + tag_name: ${{ github.event.inputs.tag || github.ref_name }} | |
| 71 | 78 | files: dist/navegador-${{ matrix.target }}${{ matrix.ext }} |
| 72 | 79 |
| --- .github/workflows/release-binaries.yml | |
| +++ .github/workflows/release-binaries.yml | |
| @@ -1,10 +1,16 @@ | |
| 1 | name: Build Release Binaries |
| 2 | |
| 3 | on: |
| 4 | release: |
| 5 | types: [published] |
| 6 | |
| 7 | permissions: |
| 8 | contents: write |
| 9 | |
| 10 | jobs: |
| @@ -66,6 +72,7 @@ | |
| 66 | navegador/cli/commands.py |
| 67 | |
| 68 | - name: Upload binary to release |
| 69 | uses: softprops/action-gh-release@v2 |
| 70 | with: |
| 71 | files: dist/navegador-${{ matrix.target }}${{ matrix.ext }} |
| 72 |
| --- .github/workflows/release-binaries.yml | |
| +++ .github/workflows/release-binaries.yml | |
| @@ -1,10 +1,16 @@ | |
| 1 | name: Build Release Binaries |
| 2 | |
| 3 | on: |
| 4 | release: |
| 5 | types: [published] |
| 6 | workflow_dispatch: |
| 7 | inputs: |
| 8 | tag: |
| 9 | description: "Release tag to attach binaries to (e.g. v0.1.0)" |
| 10 | required: true |
| 11 | default: "v0.1.0" |
| 12 | |
| 13 | permissions: |
| 14 | contents: write |
| 15 | |
| 16 | jobs: |
| @@ -66,6 +72,7 @@ | |
| 72 | navegador/cli/commands.py |
| 73 | |
| 74 | - name: Upload binary to release |
| 75 | uses: softprops/action-gh-release@v2 |
| 76 | with: |
| 77 | tag_name: ${{ github.event.inputs.tag || github.ref_name }} |
| 78 | files: dist/navegador-${{ matrix.target }}${{ matrix.ext }} |
| 79 |