Skip to content

chore: remove old build workflow and replace with new release workflow #1

chore: remove old build workflow and replace with new release workflow

chore: remove old build workflow and replace with new release workflow #1

Workflow file for this run

name: Release
permissions:
contents: write
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install pnpm
- uses: pnpm/action-setup@v3
- name: Set node
uses: actions/setup-node@v4
with:
node-version: lts/*
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/aliyundrive-rename.user.js
tag: ${{ github.ref }}
overwrite: false