mirror of
https://github.com/crazy-max/ghaction-import-gpg.git
synced 2024-12-01 09:21:03 -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
|
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
|
||||||
|
|
Loading…
Reference in a new issue