diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6521f2ff..42b61e4e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,18 +14,17 @@ jobs: - name: Check out Git repository uses: actions/checkout@v1 - - name: Install Node.js, NPM and Yarn + - name: Setup Node uses: actions/setup-node@v1 with: node-version: 16 - - run: npm install --no-optional + - name: Install Dependencies + run: npm ci --no-optional + shell: bash - - name: Build/release Electron app - uses: samuelmeuli/action-electron-builder@v1 - with: - github_token: ${{ secrets.github_token }} - - # 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') }} \ No newline at end of file + - name: Build + env: + GH_TOKEN: ${{ secrets.github_token }} + run: npm run dist + shell: bash \ No newline at end of file