Skip to content

Improve GitHub release instructions and assets #2

Improve GitHub release instructions and assets

Improve GitHub release instructions and assets #2

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
workflow_dispatch:
permissions:
contents: write
jobs:
build-release:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: bash scripts/package-release.sh "${GITHUB_REF_NAME}" "https://try2love.github.io/SlideSCI_for_MAC"
- uses: softprops/action-gh-release@v2
with:
body_path: dist/release/release-notes-${{ github.ref_name }}.md
files: |
dist/release/*.zip
dist/release/*.sha256