Skip to content

Commit

Permalink
feat: release 至少可以整个tar
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Jan 30, 2024
1 parent 1bde642 commit eef12a6
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,25 @@ on:

jobs:
tagged-release:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
name: "Tagged Release"
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
node-version: '20'
- run: npm ci
# - run: |
# npm run build:esbuild
# npm run pkg
- run: npm run build
- run: tar -czvf openbmclapi-${{ matrix.os }}.tar.gz dist nginx package.json node_modules
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
# files: |
# pkg/**
files: openbmclapi-${{ matrix.os }}.tar.gz



0 comments on commit eef12a6

Please sign in to comment.