gpg/.github/workflows/ci.yml

49 lines
969 B
YAML
Raw Normal View History

2020-05-03 15:09:41 -04:00
name: ci
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
ci:
2020-05-03 15:35:54 -04:00
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macOS-latest
2020-05-05 18:31:46 -04:00
- windows-latest
2020-05-03 15:09:41 -04:00
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Build
run: |
npm install
npm run build
2020-05-04 10:22:10 -04:00
env|sort
-
name: Env
shell: bash
run: |
env|sort
2020-05-03 15:09:41 -04:00
-
name: Import GPG private key
2020-05-03 15:09:41 -04:00
uses: ./
with:
2020-05-05 19:21:41 -04:00
git_user_signingkey: true
git_commit_gpgsign: true
git_tag_gpgsign: true
git_push_gpgsign: true
2020-05-05 14:05:49 -04:00
git_committer_name: Joe Tester
git_committer_email: joe@foo.bar
2020-05-03 15:09:41 -04:00
env:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY_TEST }}
PASSPHRASE: ${{ secrets.PASSPHRASE_TEST }}