Skip to content

Commit

Permalink
fix publish release
Browse files Browse the repository at this point in the history
  • Loading branch information
ellyofreitas committed May 15, 2024
1 parent 878e4a0 commit 876abd3
Show file tree
Hide file tree
Showing 5 changed files with 284 additions and 200 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/prebuild-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: Prebuild Binaries
on:
pull_request:
branches: [main]
push:
branches: [main]

jobs:
build:
Expand All @@ -20,16 +22,16 @@ jobs:
sudo dpkg --add-architecture i386
sudo apt-get update -y -qq
sudo apt-get install -y g++-multilib gcc-multilib libcups2-dev libcups2-dev:i386 libc6-dev-i386 linux-libc-dev linux-libc-dev:i386
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: pip
- name: Install Python setup tools
run: pip install setuptools
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version-file: .nvmrc
registry-url: https://npm.pkg.github.com
scope: '@grupoboticario'
cache: npm
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
name: Prebuild Binaries for ${{ matrix.os }}
strategy:
matrix:
node-version: [18.x]

os: [ubuntu, macos, windows]
runs-on: ${{ matrix.os }}-latest
timeout-minutes: 30
Expand All @@ -18,16 +18,16 @@ jobs:
sudo dpkg --add-architecture i386
sudo apt-get update -y -qq
sudo apt-get install -y g++-multilib gcc-multilib libcups2-dev libcups2-dev:i386 libc6-dev-i386 linux-libc-dev linux-libc-dev:i386
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: pip
- name: Install Python setup tools
run: pip install setuptools
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x
node-version-file: .nvmrc
registry-url: https://npm.pkg.github.com
scope: '@grupoboticario'
cache: npm
Expand Down Expand Up @@ -57,10 +57,10 @@ jobs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
node-version-file: .nvmrc
registry-url: https://npm.pkg.github.com
scope: '@grupoboticario'
cache: npm
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
Loading

0 comments on commit 876abd3

Please sign in to comment.