Skip to content

Commit

Permalink
fix: tester2
Browse files Browse the repository at this point in the history
  • Loading branch information
greendoescode authored Sep 2, 2024
1 parent 1c6b053 commit 0c755e4
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,45 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Get current date
id: get-date
run: |
echo "NOW=$(date +'%Y%m%dT%H%M%S')" >> $GITHUB_ENV
- name: npm install, build, and test
run: |
npm install
npm run build --if-present
npm test
- name: Get Version From package.json
id: get-version
uses: beaconbrigade/[email protected]
with:
path: .
- name: Package for Windows
run: |
wget -nv -P .dist/win-x64 https://nodejs.org/download/release/latest/win-x64/node.exe
cp -r * .dist/win-x64/

- uses: ./.github/actions/nodeci-build-windows
with:
name: vlc-rpc-v${{steps.get-version.outputs.version}}-nightly${{env.NOW}}-bundled-win-x64

- uses: ./.github/actions/nodeci-build-linux
with:
name: vlc-rpc-v${{steps.get-version.outputs.version}}-nightly${{env.NOW}}-bundled-linux-x64

- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
name: code-coverage-report
path: output/test/code-coverage.html

- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: vlc-rpc-v${{steps.get-version.outputs.version}}-bundled-win-x64
path: |
.dist/win-x64
- name: Archive code coverage results
uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -72,3 +87,4 @@ jobs:
tag: ${{ steps.get-version.outputs.version }}
token: ${{ secrets.GITHUB_TOKEN }}
files: .dist/zipped/*.zip
if: env.RELEASE_EXISTS != 'true'

0 comments on commit 0c755e4

Please sign in to comment.