This commit is contained in:
Daniel Scalzi 2022-01-23 17:13:56 -05:00
parent a4492124ec
commit aff494100e
No known key found for this signature in database
GPG Key ID: 9E3E2AFE45328AA5

View File

@ -14,18 +14,17 @@ jobs:
- name: Check out Git repository - name: Check out Git repository
uses: actions/checkout@v1 uses: actions/checkout@v1
- name: Install Node.js, NPM and Yarn - name: Setup Node
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: 16 node-version: 16
- run: npm install --no-optional - name: Install Dependencies
run: npm ci --no-optional
shell: bash
- name: Build/release Electron app - name: Build
uses: samuelmeuli/action-electron-builder@v1 env:
with: GH_TOKEN: ${{ secrets.github_token }}
github_token: ${{ secrets.github_token }} run: npm run dist
shell: bash
# If the commit is tagged with a version (e.g. "v1.0.0"),
# release the app after building
release: ${{ startsWith(github.ref, 'refs/tags/v') }}