Skip to content

Commit

Permalink
perf: 更新触发
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Dec 21, 2024
1 parent 201d05a commit e6f8add
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/custom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@ jobs:
run: |
case ${{ matrix.binaries }} in
glibc)
if [ "${{ env.major_version }}" -gt "20" ]; then
# https://github.com/nodejs/node/pull/52888
exit 0
fi
gh release view ${{ env.version }} -R ${{ github.repository }} | grep node-${{ env.version }}-linux-loong64.tar.xz >/dev/null 2>&1 || echo "create=1" >> $GITHUB_ENV
;;
musl)
Expand All @@ -65,7 +61,7 @@ jobs:
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git tag ${{ env.version }}
git tag ${{ env.version }} || true
git push origin ${{ env.version }} --force
working-directory: main

Expand All @@ -81,14 +77,7 @@ jobs:
- name: Setup QEMU
if: env.create == '1'
run: |
case ${{ matrix.binaries }} in
glibc)
echo "Pass ..."
;;
musl)
docker run --rm --privileged ghcr.io/loong64/qemu-user-static --reset -p yes
;;
esac
docker run --rm --privileged ghcr.io/loong64/qemu-user-static --reset -p yes
- name: Cache node.js
if: env.create == '1'
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git tag ${{ env.version }}
git tag ${{ env.version }} || true
git push origin ${{ env.version }} --force
working-directory: main

Expand All @@ -72,14 +72,7 @@ jobs:
- name: Setup QEMU
if: env.create == '1'
run: |
case ${{ matrix.binaries }} in
glibc)
echo "Pass ..."
;;
musl)
docker run --rm --privileged ghcr.io/loong64/qemu-user-static --reset -p yes
;;
esac
docker run --rm --privileged ghcr.io/loong64/qemu-user-static --reset -p yes
- name: Cache node.js
if: env.create == '1'
Expand Down

0 comments on commit e6f8add

Please sign in to comment.