Skip to content

Commit 00a8d83

Browse files
moulscharrier
authored andcommitted
fix: use last CLI api
context: the CLI API changed recently, this Github Action was broken. read more: #2 Signed-off-by: Manfred Touron <94029+moul@users.noreply.github.com>
1 parent d90e8bf commit 00a8d83

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ inputs:
55
description: 'Relative path to the documentation file'
66
required: true
77
default: api-contract.yml
8-
id:
8+
doc:
99
description: 'Documentation id. Can be found in the documentation settings on https://bump.sh'
1010
required: true
1111
token:
@@ -23,7 +23,7 @@ runs:
2323
args:
2424
- ${{ inputs.command }}
2525
- ${{ inputs.file }}
26-
- ${{ inputs.id }}
26+
- ${{ inputs.doc }}
2727
- ${{ inputs.token }}
2828
- ${{ inputs.validation }}
2929
branding:

entrypoint.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/bin/sh -l
22

3+
# if you want to know why gem install is made in entrypoint.sh instead of Dockerfile,
4+
# please read the discussion here: https://github.com/bump-sh/github-action/pull/2.
35
cd /home
46
gem install bump-cli
5-
$GEM_HOME/bin/bump $1 ${GITHUB_WORKSPACE}/$2 --id $3 --token $4 --validation $5
7+
8+
$GEM_HOME/bin/bump $1 ${GITHUB_WORKSPACE}/$2 --doc $3 --token $4 --validation $5

0 commit comments

Comments
 (0)