Skip to content

Commit

Permalink
chore: setup build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
bangbang93 committed Feb 1, 2024
1 parent 3c763bb commit 4563691
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- run: npm ci
Expand All @@ -24,7 +24,13 @@ jobs:
- run: |
npm run build:sea
tar -czvf openbmclapi-${{ matrix.os }}-sea.tar.gz openbmclapi
- run: ls -l
- uses: "actions/cache@v2"
with:
path: |
~/.cache
~/.npm
~/.nexe
key: ${{ runner.os }}-release-${{ matrix.os }}
# - uses: "marvinpinto/action-automatic-releases@latest"
# with:
# repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down

0 comments on commit 4563691

Please sign in to comment.