From 41b79c0e3510e7c8e64bea9b8e3ceffc6f607f04 Mon Sep 17 00:00:00 2001 From: Importantus Date: Tue, 10 Dec 2024 15:52:13 +0100 Subject: [PATCH] Change version of release action --- .github/workflows/build-release.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 4fa2acc..c42b965 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -1,10 +1,17 @@ name: Build/release -on: push +on: + push: + tags: + - '*' # Push events to every tag not containing / + pull_request: jobs: release: runs-on: ${{ matrix.os }} + permissions: + packages: write + contents: write strategy: matrix: @@ -17,10 +24,10 @@ jobs: - name: Install Node.js, NPM and Yarn uses: actions/setup-node@v1 with: - node-version: 20 + node-version: 18 - name: Build/release Electron app - uses: Yan-Jobs/action-electron-builder@v1.7.0 + uses: samuelmeuli/action-electron-builder@v1 with: # GitHub token, automatically provided to the action # (No need to define this secret in the repo settings)