add service integration request template to github #1504
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build/release | |
on: push | |
jobs: | |
release_launcher: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
working-directory: launcher | |
strategy: | |
matrix: | |
# os: [macos-latest, ubuntu-latest, windows-latest] | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
fail-fast: false | |
steps: | |
- name: Check out Git repository | |
uses: actions/checkout@v1 | |
- name: Build and Sign | |
uses: samuelmeuli/action-electron-builder@v1 | |
with: | |
args: "--publish onTag" | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
package_root: launcher | |
use_vue_cli: true | |
mac_certs: ${{ secrets.mac_certs }} | |
mac_certs_password: ${{ secrets.mac_certs_password }} | |
windows_certs: ${{ secrets.win_certs }} | |
windows_certs_password: ${{ secrets.win_certs_password }} | |
# release the app after building - never in this step | |
release: never | |
if: "!startsWith(github.ref, 'refs/tags/v')" | |
- name: Build, Sign, Notarize and Release | |
uses: samuelmeuli/action-electron-builder@v1 | |
with: | |
args: "--publish onTag" | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
package_root: launcher | |
use_vue_cli: true | |
mac_certs: ${{ secrets.mac_certs }} | |
mac_certs_password: ${{ secrets.mac_certs_password }} | |
windows_certs: ${{ secrets.win_certs }} | |
windows_certs_password: ${{ secrets.win_certs_password }} | |
# release the app after building - in case of a tag starting with v (in this case always) | |
release: ${{ startsWith(github.ref, 'refs/tags/v') }} | |
env: | |
APPLE_ID: ${{ secrets.apple_id }} | |
APPLE_ID_PASSWORD: ${{ secrets.apple_id_password }} | |
TEAM_SHORT_NAME: ${{ secrets.team_short_name }} | |
APP_ID: "com.stereum.launcher" | |
if: "startsWith(github.ref, 'refs/tags/v')" |