diff --git a/.github/workflows/vendored-release.yml b/.github/workflows/vendored-release.yml index 003e202..37f3a3b 100644 --- a/.github/workflows/vendored-release.yml +++ b/.github/workflows/vendored-release.yml @@ -1,6 +1,7 @@ name: Release on: + workflow_dispatch push: tags: - 'v*' @@ -27,14 +28,22 @@ jobs: go mod vendor tar cvf vib-vendored-deps.tar.xz * + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + Name: Vendored Sources + path: vib-vendored-deps.tar.xz + - name: Upload a Release Asset if: github.repository == 'Vanilla-OS/Vib' + if: startsWith(github.ref, 'ref/tags') uses: softprops/action-gh-release@v2 with: files: vib-vendored-deps.tar.xz - name: Attest generated files if: github.repository == 'Vanilla-OS/Vib' + if startsWith(github.ref, 'ref/tags') id: attest uses: actions/attest-build-provenance@v1 with: