Skip to content

Commit

Permalink
Saco builds de linux mac y windows del CI
Browse files Browse the repository at this point in the history
  • Loading branch information
asanzo committed Jan 12, 2024
1 parent 9d73b13 commit 48fe6d6
Showing 1 changed file with 2 additions and 41 deletions.
43 changes: 2 additions & 41 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,48 +40,9 @@ jobs:
- run: echo "EXPERIMENT_GROUP=autoassign" >> $GITHUB_ENV
- run: npm install
- run: npm run build:prod
- run: npm run pack:linux
- run: npm run pack:html
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "binaries/*.zip,binaries/*.deb,binaries/*.tar.gz"
token: ${{ secrets.GITHUB_TOKEN }}

pack-macos: # When there is a tag, pack the installers and upload to Github.
runs-on: macos-latest
if: startsWith(github.ref, 'refs/tags')
needs: test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: echo "EXPERIMENT_GROUP=autoassign" >> $GITHUB_ENV
- run: npm install
- run: npm run build:prod
- run: npm run pack:osx
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "binaries/*.dmg"
token: ${{ secrets.GITHUB_TOKEN }}

pack-windows: # When there is a tag, pack the installers and upload to Github.
runs-on: windows-latest
if: startsWith(github.ref, 'refs/tags')
needs: test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: echo "EXPERIMENT_GROUP=autoassign" >> $env:GITHUB_ENV
- run: npm install
- run: npm run build:prod
- run: npm run pack:win32
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "binaries/*.exe"
token: ${{ secrets.GITHUB_TOKEN }}
artifacts: "binaries/*.tar.gz"
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 48fe6d6

Please sign in to comment.