Skip to content

v1.1.0

v1.1.0 #4

Workflow file for this run

name: release
on:
release:
types:
- published
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- run: npm install
- run: npm run pack
- uses: actions/upload-artifact@v4
with:
name: ${{ github.event.repository.name }}-${{ github.sha }}
path: |
build/
update-release-notes:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- id: extract-release-notes
uses: ffurrer2/extract-release-notes@v2
- uses: softprops/action-gh-release@v2
with:
body: |
${{ steps.extract-release-notes.outputs.release_notes }}
upload-to-release:
needs:
- build
- update-release-notes
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: ${{ github.event.repository.name }}-${{ github.sha }}
path: artifact
- run: |
cp CHANGELOG.md LICENSE README.md artifact/
- run: |
zip -r ../${{ github.event.repository.name }}.zip *
working-directory: artifact
- uses: softprops/action-gh-release@v2
with:
files: |
${{ github.event.repository.name }}.zip