Bump up version to use latest dosai #98
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build npm package | |
on: | |
push: | |
jobs: | |
pkg: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org/ | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.19.8' | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- uses: actions/cache@v3 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Build | |
run: | | |
wget https://github.com/upx/upx/releases/download/v4.2.1/upx-4.2.1-amd64_linux.tar.xz | |
tar -xvf upx-4.2.1-amd64_linux.tar.xz | |
chmod +x upx-4.2.1-amd64_linux/upx | |
sudo cp upx-4.2.1-amd64_linux/upx /usr/local/bin/ | |
bash build.sh | |
pip3 install blint | |
blint -i plugins -o /tmp/reports | |
npm publish --dry-run | |
pushd packages/arm64 | |
npm publish --dry-run | |
popd | |
pushd packages/ppc64 | |
npm publish --dry-run | |
popd | |
continue-on-error: true |