Maybe maybe maybe

This commit is contained in:
CrazyMax 2020-05-12 20:36:05 +02:00
parent 7a355f8c5b
commit d49ee3cbc3
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -26,10 +26,13 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- -
name: Test test key and passphrase name: Test test key and passphrase
uses: actions/github-script@0.9.0
id: test id: test
run: | with:
echo ::set-output name=pgp::$(cat .github/test-key.pgp) script: |
echo ::set-output name=passphrase::$(cat .github/test-key.pass) import fs = require('fs');
core.setOutput('pgp', fs.readFileSync('.github/test-key.pgp', {encoding: 'utf8'}));
core.setOutput('passphrase', fs.readFileSync('.github/test-key.pass', {encoding: 'utf8'}));
- -
name: Import GPG private key name: Import GPG private key
id: import_gpg id: import_gpg