git ssb

1+

Daan Patchwork / patchwork



Tree: 3451510316992d414ec76ba5b29681fe359b7428

Files: 3451510316992d414ec76ba5b29681fe359b7428 / .github / workflows / release.yml

1349 bytesRaw
1name: Prepare Release
2
3on: workflow_dispatch
4
5jobs:
6 release:
7 runs-on: ${{ matrix.os }}
8
9 strategy:
10 fail-fast: false
11 matrix:
12 os: [macos-latest, ubuntu-latest, windows-latest]
13
14 steps:
15 - run: git config --global core.autocrlf false
16
17 - name: Install Build Dependencies
18 if: runner.os == 'linux'
19 run: |
20 sudo apt update
21 sudo apt-get install -y \
22 libopenjp2-tools \
23 automake \
24 libgconf-2-4 \
25 libtool \
26 libxext-dev \
27 libxkbfile-dev \
28 libxtst-dev \
29 build-essential
30
31 - name: Install Snapcraft
32 if: runner.os == 'linux'
33 uses: samuelmeuli/action-snapcraft@v1
34
35 - name: Install Node.js, NPM and Yarn
36 uses: actions/setup-node@v1
37 with:
38 node-version: 14
39
40 - name: Check out Git repository
41 uses: actions/checkout@v2
42
43 - name: Build/release Electron app
44 uses: samuelmeuli/action-electron-builder@v1
45 with:
46 # GitHub token, automatically provided to the action
47 # (No need to define this secret in the repo settings)
48 github_token: ${{ secrets.github_token }}
49
50 # If the commit is tagged with a version (e.g. "v1.0.0"),
51 # release the app after building
52 release: true
53

Built with git-ssb-web