Skip to content

fix null description #15

fix null description

fix null description #15

Workflow file for this run

name: Release
on:
push:
tags: ['*']
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20
- name: Create package
run: |
rm -rf *.tar.gz
npx --yes wspackager@latest
- name: Check file existence
id: check_files
uses: andstor/[email protected]
with:
files: "*.tar.gz"
- name: On Build Failure
if: steps.check_files.outputs.files_exists == 'false'
run: |
echo "Packaging FAILED" && exit 1
- name: Release
uses: softprops/[email protected]
if: startsWith(github.ref, 'refs/tags/') && steps.check_files.outputs.files_exists == 'true'
with:
files: "*.tar.gz"