Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Commit 4aac0a0

Browse files
committed
fix script
1 parent c67ac37 commit 4aac0a0

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ jobs:
108108
with:
109109
name: libxml.wasm.tgz
110110
path: libxml.wasm-*.tgz
111+
- name: Fix cache permission
112+
run: |
113+
sudo chown -R $(whoami) prefix cache
111114
publish:
112115
name: Publish packages
113116
runs-on: ubuntu-latest
@@ -133,8 +136,8 @@ jobs:
133136
- name: Prepare package
134137
id: package
135138
run: |
136-
if [ ${{ github.ref_name == 'master' }} ]; then
137-
echo "This is the master branch"
139+
if [ ${{ github.ref_name }} = 'master' || ${{ github.ref_name }} = 'main' ]; then
140+
echo "This is the main branch"
138141
echo "tag=latest" >> $GITHUB_OUTPUT
139142
else
140143
echo "This is the develop branch"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "libxml.wasm",
3-
"version": "0.0.0-experimental",
3+
"version": "0.0.0",
44
"packageManager": "pnpm@9.1.0",
55
"type": "module",
66
"types": "types.d.ts",

0 commit comments

Comments
 (0)