diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2021-08-15 15:16:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-15 15:16:53 -0400 |
| commit | c76cbfe5a93ccb0eac156080d358e8390590ffab (patch) | |
| tree | cfd504867f1d1b6a4d68eac03ce84f16e7d676b3 /.github/workflows | |
| parent | dc62c38201ab9cae15cfab6591514df8e48025e2 (diff) | |
| download | YouTube-TV-Client-c76cbfe5a93ccb0eac156080d358e8390590ffab.tar.gz YouTube-TV-Client-c76cbfe5a93ccb0eac156080d358e8390590ffab.tar.bz2 YouTube-TV-Client-c76cbfe5a93ccb0eac156080d358e8390590ffab.zip | |
Create main.yml
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/main.yml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..7862e24 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,33 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: push +jobs: + release: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [macos-latest, ubuntu-latest, windows-latest] + + steps: + - name: Check out Git repository + uses: actions/checkout@v1 + + - name: Install Node.js, NPM and Yarn + uses: actions/setup-node@v1 + with: + node-version: 10 + + - name: Build/release Electron app + uses: samuelmeuli/action-electron-builder@v1 + with: + # GitHub token, automatically provided to the action + # (No need to define this secret in the repo settings) + github_token: ${{ secrets.github_token }} + + # If the commit is tagged with a version (e.g. "v1.0.0"), + # release the app after building + release: ${{ startsWith(github.ref, 'refs/tags/v') }} |
