From bbf9a581cbb39de996d8dec1a3261fdf79e18fc3 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Tue, 4 Apr 2023 01:58:24 +0200 Subject: [PATCH] Add workflow --- .github/release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/release.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..7488146 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,28 @@ +name: Build/release + +on: + push: + branches: + - main + +jobs: + release: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [macos-latest, ubuntu-latest, windows-latest] + + steps: + - name: Check out Git repository + uses: actions/checkout@v3 + + - uses: actions/setup-node@v3 + with: + node-version: 18 + + - name: Run Electron Builder + uses: samuelmeuli/action-electron-builder@ve4b12cd06ddf023422f1ac4e39632bd76f6e6928 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + RELEASE: ${{ startsWith(github.ref, 'refs/tags/v') }}