Skip to content

Update

Update #3

Workflow file for this run

name: Create Release
on:
push:
tags:
- "v*"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: latest
- name: Install Dependencies
run: npm install
- name: Build Site
run: npm run build
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
release/bookmark_search-*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Archive source code as ZIP
run: zip -r source.zip .
- name: Archive source code as TAR.GZ
run: tar -czf source.tar.gz .
- name: Upload built artifact
uses: actions/upload-artifact@v4
with:
path:
- release/bookmark_search-*

Check failure on line 41 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Create Release

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 41, Col: 13): A sequence was not expected
- source.zip
- source.tar.gz