Skip to content

Commit d76fcd8

Browse files
authored
Fix 0.4.0 lib upgrade (#15)
1 parent 9beb790 commit d76fcd8

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

action.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@ inputs:
88
client_id:
99
required: true
1010
description: 'The client ID'
11-
client_secret:
11+
api_key:
1212
required: true
13-
description: 'The client secret'
14-
access_token_url:
15-
required: true
16-
description: 'The URL where to fetch an access token from'
13+
description: 'The API key'
1714
zip:
1815
required: true
1916
description: 'Path to a .zip of your addon'
@@ -31,8 +28,7 @@ runs:
3128
args:
3229
- ${{ inputs.product_id }}
3330
- ${{ inputs.client_id }}
34-
- ${{ inputs.client_secret }}
35-
- ${{ inputs.access_token_url }}
31+
- ${{ inputs.api_key }}
3632
- ${{ inputs.zip }}
3733
- ${{ inputs.notes }}
3834
- ${{ inputs.debug }}

entrypoint.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212

1313
product_id = sys.argv[1]
1414
client_id = sys.argv[2]
15-
client_secret = sys.argv[3]
16-
access_token_url = sys.argv[4]
15+
api_key = sys.argv[3]
1716
file_path = sys.argv[5]
1817
notes = sys.argv[6]
1918
debug = sys.argv[7].lower() in ["true", "1"]
@@ -30,7 +29,7 @@
3029
options = Options(
3130
product_id=product_id,
3231
client_id=client_id,
33-
client_secret=client_secret,
32+
api_key=api_key,
3433
access_token_url=access_token_url,
3534
)
3635

0 commit comments

Comments
 (0)