mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 10:26:46 +00:00
set private key to secret
This commit is contained in:
parent
9db208ff02
commit
23f6cd301b
1 changed files with 3 additions and 0 deletions
|
@ -5,6 +5,9 @@ import * as path from 'path';
|
|||
|
||||
async function run() {
|
||||
try {
|
||||
// Set secrets before use
|
||||
core.setSecret('gpg-private-key');
|
||||
|
||||
let version = core.getInput('version');
|
||||
if (!version) {
|
||||
version = core.getInput('java-version', {required: true});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue