Skip to content

Commit 4dd3784

Browse files
committed
Fix input names
1 parent e4f0c05 commit 4dd3784

File tree

3 files changed

+15
-28
lines changed

3 files changed

+15
-28
lines changed

.github/actions/appinspect_publish/publish.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
import requests
33
from requests.auth import HTTPBasicAuth
44

5-
APP_ID= os.environ['APP_ID']
6-
filename = os.environ['APP_FILE']
5+
APP_ID= os.environ['INPUT_APP_ID']
6+
filename = os.environ['INPUT_APP_FILE']
77
filepath = os.path.join(os.environ['GITHUB_WORKSPACE'], filename)
8-
SPLUNK_USERNAME = os.environ['SPLUNK_USERNAME']
9-
SPLUNK_PASSWORD = os.environ['SPLUNK_PASSWORD']
10-
SPLUNK_VERSION = os.environ['SPLUNK_VERSION']
8+
SPLUNK_USERNAME = os.environ['INPUT_SPLUNK_USERNAME']
9+
SPLUNK_PASSWORD = os.environ['INPUT_SPLUNK_PASSWORD']
10+
SPLUNK_VERSION = os.environ['INPUT_SPLUNK_VERSION']
1111

1212
api_path = 'https://splunkbase.splunk.com/api/v1/app/{}/new_release'.format(APP_ID)
1313

.github/workflows/appinspect_cli.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,13 @@ jobs:
6262
with:
6363
name: github_app_for_splunk-1.0.0.tar.gz
6464
path: ./github_app_for_splunk-1.0.0.tar.gz
65+
66+
- name: Hello world action step
67+
uses: ./.github/actions/appinspect_publish # Uses an action in the root directory
68+
id: hello
69+
with:
70+
APP_ID: '5596'
71+
APP_FILE: 'github_app_for_splunk-1.0.0.tar.gz'
72+
SPLUNK_USERNAME: ${{ secrets.SPLUNKBASE_USER }}
73+
SPLUNK_PASSWORD: ${{ secrets.SPLUNKBASE_PASSWORD }}
74+
SPLUNK_VERSION: '8.0,8.1'

.github/workflows/testWorkflow.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy