mirror of
https://github.com/crazy-max/ghaction-import-gpg.git
synced 2024-11-05 21:25:50 -05:00
Maybe maybe maybe
This commit is contained in:
parent
7a355f8c5b
commit
d49ee3cbc3
1 changed files with 6 additions and 3 deletions
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
|
@ -26,10 +26,13 @@ jobs:
|
|||
uses: actions/checkout@v2
|
||||
-
|
||||
name: Test test key and passphrase
|
||||
uses: actions/github-script@0.9.0
|
||||
id: test
|
||||
run: |
|
||||
echo ::set-output name=pgp::$(cat .github/test-key.pgp)
|
||||
echo ::set-output name=passphrase::$(cat .github/test-key.pass)
|
||||
with:
|
||||
script: |
|
||||
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
|
||||
id: import_gpg
|
||||
|
|
Loading…
Reference in a new issue