Skip to content

fix: archive file dirs structure problem, close #26 #10

fix: archive file dirs structure problem, close #26

fix: archive file dirs structure problem, close #26 #10

Workflow file for this run

name: Create Release And Build
on:
push:
tags:
- "v*"
permissions:
contents: write
packages: write
jobs:
build:
name: Create Release And Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Dependencies
run: npm install
- name: Build
run: npm run build
- name: Archive
uses: montudor/[email protected]
with:
args: cd build && zip -r ../Gopeed-Chrome-Extension.zip .
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: Gopeed-Chrome-Extension.zip
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}