Skip to content

Commit

Permalink
feat: update build
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarolorentedev committed Aug 1, 2024
1 parent 04a6c72 commit 82ccefe
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
release:
strategy:
matrix:
os: [macos-latest-large, ubuntu-latest, windows-latest]
os: [macos-latest, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
Expand All @@ -17,7 +17,7 @@ jobs:
node-version: 18
cache: 'npm'
- name: Windows Codesign executable
if: matrix.os == 'windows-2019' && startsWith(github.event.head_commit.message,'v1.')
if: matrix.os == 'windows-latest' && startsWith(github.event.head_commit.message,'v1.')
run: |
New-Item -ItemType directory -Path certificate
Set-Content -Path certificate\certificate.txt -Value '${{ secrets.WINDOWS_PFX }}'
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: install dependencies
run: npm ci
- name: Test & publish code coverage
if: matrix.os != 'windows-2019'
if: matrix.os == 'ubuntu-latest'
uses: paambaati/[email protected]
env:
CC_TEST_REPORTER_ID: ${{ secrets.CODE_CLIMATE_REPORTER_ID }}
Expand All @@ -69,16 +69,16 @@ jobs:
WINDOWS_PFX_SECRET: ${{ secrets.WINDOWS_PFX_SECRET }}
run: npm run deploy
- name: prepare chocolatey
if: matrix.os == 'windows-2019' && startsWith(github.event.head_commit.message,'v1.')
if: matrix.os == 'windows-latest' && startsWith(github.event.head_commit.message,'v1.')
run: npm run chocolatey:prepare
- name: pack chocolatey
if: matrix.os == 'windows-2019' && startsWith(github.event.head_commit.message,'v1.')
if: matrix.os == 'windows-latest' && startsWith(github.event.head_commit.message,'v1.')
uses: crazy-max/ghaction-chocolatey@v2
with:
args: pack .\build\chocolatey\barklarm.nuspec
- name: push chocolatey
continue-on-error: true
if: matrix.os == 'windows-2019' && startsWith(github.event.head_commit.message,'v1.')
if: matrix.os == 'windows-latest' && startsWith(github.event.head_commit.message,'v1.')
uses: crazy-max/ghaction-chocolatey@v2
with:
args: push -s https://push.chocolatey.org/ -k '${{ secrets.CHOCOLATEY_KEY }}'
Expand Down

0 comments on commit 82ccefe

Please sign in to comment.