Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,18 @@ jobs:
path: demos/out/
retention-days: 30

- name: Bundle for release
if: startsWith(github.ref, 'refs/tags/v')
run: |
cd demos/out
zip -r ../../demos.zip .

# Attach the rendered media straight to the release. The vhs container
# (debian:stable-slim) ships no `zip`, and bundling 3 files into an
# archive nobody can preview adds no value -- hero.gif renders inline on
# the release page, the mp4/webm download as-is.
- name: Attach to release
if: startsWith(github.ref, 'refs/tags/v')
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
with:
files: demos.zip
files: |
demos/out/hero.gif
demos/out/hero.mp4
demos/out/hero.webm

- name: Drift check (main branch)
if: github.ref == 'refs/heads/main'
Expand Down