Skip to content

Commit

Permalink
ci: Try forked pkg to fix arm64 build 2 (#294)
Browse files Browse the repository at this point in the history
* ci: Try forked pkg to fix arm64 build

* try build node20 instead

* revert yao

* use yao pkg

* try ver 6.0.0

* try all

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update build.yml

* Update package.json

* Update build.yml

* Update build.yml

* Update build.yml

* split OSs

* rev tests

* simplify

* try public flag

* public all
  • Loading branch information
jcs090218 authored Jan 8, 2025
1 parent ab68fa3 commit c875ffb
Show file tree
Hide file tree
Showing 3 changed files with 698 additions and 450 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,17 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install --assume-yes qemu-user-binfmt
- uses: MOZGIII/install-ldid-action@master
with:
tag: v2.1.5-procursus7

- name: Install pkg
run: npm install -g pkg
run: npm install -g @yao-pkg/pkg

- name: Preparing...
run: npm install
Expand Down Expand Up @@ -89,7 +98,7 @@ jobs:
cd ..
cp ${{ matrix.target }}.${{ env._EXT }} eask_${{ env.VERSION }}_${{ matrix.target }}.${{ env._EXT }}
- name: Uploading...
- name: Upload for prerelease
if: github.ref == 'refs/heads/master'
uses: softprops/[email protected]
with:
Expand All @@ -98,6 +107,14 @@ jobs:
prerelease: true
files: eask_${{ env.VERSION }}_${{ matrix.target }}.${{ env._EXT }}

#### Upload an artifact for testing purposes

- name: Upload for tests
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.target }}
path: dist

#### Prepare to push to `binaries` repository!

- name: Move tar to HOME
Expand Down
Loading

0 comments on commit c875ffb

Please sign in to comment.