Skip to content

Commit

Permalink
add workflow_dispatch for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
axtloss committed Oct 9, 2024
1 parent 250de2b commit adc2104
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/vendored-release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Release

on:
workflow_dispatch
push:
tags:
- 'v*'
Expand All @@ -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:
Expand Down

0 comments on commit adc2104

Please sign in to comment.