Skip to content

Merge branch 'main' of https://github.com/krau/Gopeed-Chrome-Extension #12

Merge branch 'main' of https://github.com/krau/Gopeed-Chrome-Extension

Merge branch 'main' of https://github.com/krau/Gopeed-Chrome-Extension #12

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
run: 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}}