Skip to content

Commit

Permalink
⚗️ Test publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Jan 9, 2025
1 parent 3410f32 commit 57089ed
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,24 @@ jobs:
publish:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
needs:
- build
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
pattern: artifact-*
merge-multiple: true
path: prebuilds
- uses: actions/setup-node@v4
with:
node-version: latest
registry-url: https://registry.npmjs.org
cache: 'npm'
- name: Build
run: |
npm install
npm pack
- uses: softprops/action-gh-release@v2
with:
files: '*.tgz'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xmake-build-system",
"version": "2.9.7",
"version": "2.9.6",
"description": "A cross-platform build utility based on Lua",
"repository": "https://github.com/xmake-io/xmake-wheel",
"homepage": "https://github.com/xmake-io/xmake-wheel#readme",
Expand Down

0 comments on commit 57089ed

Please sign in to comment.