From f30cad74d728c419ae27e466b9398df706cf683b Mon Sep 17 00:00:00 2001 From: MathieuG-P <40181755+Zagrios@users.noreply.github.com> Date: Sun, 14 Jul 2024 17:15:31 +0200 Subject: [PATCH] chore: Add GitHub Actions workflow for releasing Linux --- .github/workflows/release-linux.yaml | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/release-linux.yaml diff --git a/.github/workflows/release-linux.yaml b/.github/workflows/release-linux.yaml new file mode 100644 index 00000000..fe208a03 --- /dev/null +++ b/.github/workflows/release-linux.yaml @@ -0,0 +1,32 @@ +# This workflow will... + +name: Realease Linux + +on: + workflow_dispatch: + +jobs: + release: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest] + + steps: + - name: Check out Git repository + uses: actions/checkout@v4 + + - name: Use Node.js + uses: actions/setup-node@v4 + with: + node-version: 18.x + cache: "npm" + - run: npm ci + - run: npm run build && electron-builder --linux --x64 --publish always + + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: release + path: release