Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Try forked pkg to fix arm64 build 2 #294

Merged
merged 21 commits into from
Jan 8, 2025
Merged
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
Loading