Skip to content

Commit

Permalink
cd: create zip-vpm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective authored Nov 13, 2024
1 parent ec06ba1 commit c088988
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/zip-vpm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Package in VPM-compatible format

on:
release:
- published

permissions:
contents: write

jobs:
build:

runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v4
- name: Zip
run: |
zip -r vpm-src.zip .
- name: Compute SHA256
run: |
echo (Get-FileHash ./vpm-src.zip -Algorithm SHA256).Hash > vpm-src.zip.sha256
shell: pwsh
- name: Upload files
run: |
gh release upload ${{github.event.release.tag_name}} vpm-src.zip
gh release upload ${{github.event.release.tag_name}} vpm-src.zip.sha256

0 comments on commit c088988

Please sign in to comment.