Skip to content

Commit

Permalink
nvm
Browse files Browse the repository at this point in the history
  • Loading branch information
steam0r committed Feb 29, 2024
1 parent 5d7a658 commit 4db48a7
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- cron: "0 3 * * *"

env:
releaseName: nightly-${{ github.run_id }}.${{ github.run_number }}
releaseName: ${{ github.run_number }}-dev

jobs:
mac:
Expand Down Expand Up @@ -36,14 +36,8 @@ jobs:
uses: actions/checkout@v4
with:
path: "cables_electron/"
- name: Read .nvmrc
id: nvm
run: echo "NVMRC=`cat .nvmrc`" >> $GITHUB_OUTPUT
- name: install nodejs
uses: actions/setup-node@v1
with:
cache: "npm"
node-version: "${{ steps.nvm.outputs.NVMRC }}"
uses: dcodeIO/setup-node-nvm@master
- name: install dependencies
run: npm install
- name: Create Release
Expand All @@ -52,11 +46,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.releaseName }}
tag_name: v${{ env.releaseName }}
release_name: ${{ env.releaseName }}
draft: true
prerelease: true
- name: build standalone
run: ./hook_standalone.sh
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PACKAGE_VERSION: ${{ env.releaseName }}

0 comments on commit 4db48a7

Please sign in to comment.