This repository was archived by the owner on Feb 12, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Expand file tree Collapse file tree 5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ jobs:
295
295
- name : Test GitHub Action
296
296
uses : ./
297
297
with :
298
- custom_command : ' bundle ./test/bundle/asyncapi.yaml ./test/bundle/features.yaml --base ./test/bundle/asyncapi.yaml --reference-into-components - o ./output/bundle/asyncapi.yaml'
298
+ custom_command : ' bundle ./test/bundle/asyncapi.yaml ./test/bundle/features.yaml --base ./test/bundle/asyncapi.yaml -o ./output/bundle/asyncapi.yaml'
299
299
- name : Assert GitHub Action
300
300
run : |
301
301
echo "Listing all files"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export GITHUB_WORKSPACE = $(shell pwd)
14
14
run :
15
15
@bash ./entrypoint.sh $(DEFAULT_VERSION ) $(DEFAULT_COMMAND ) $(TEST_FILEPATH ) $(DEFAULT_TEMPLATE ) $(DEFAULT_LANGUAGE ) $(DEFAULT_OUTPUT ) $(DEFAULT_PARAMETERS ) $(DEFAULT_CUSTOM_COMMANDS )
16
16
17
- test : test-default test-validate-success test-validate-fail test- custom-output test-custom-commands test-optimize test-bundle test-convert test-action-bump
17
+ test : test-default test-validate-success test-custom-output test-custom-commands test-optimize test-bundle test-convert test-action-bump
18
18
19
19
# Test cases
20
20
@@ -51,7 +51,7 @@ test-optimize:
51
51
@bash ./entrypoint.sh $(DEFAULT_VERSION ) ' optimize' ' test/unoptimized.yml' $(DEFAULT_TEMPLATE ) $(DEFAULT_LANGUAGE ) $(DEFAULT_OUTPUT ) ' -o new-file --no-tty' $(DEFAULT_CUSTOM_COMMANDS )
52
52
53
53
# Tests if the action can bundle the specification with custom commands
54
- BUNDLE_COMMAND ='bundle ./test/bundle/asyncapi.yaml ./test/bundle/features.yaml --base ./test/bundle/asyncapi.yaml --reference-into-components - o ./output/bundle/asyncapi.yaml'
54
+ BUNDLE_COMMAND ='bundle ./test/bundle/asyncapi.yaml ./test/bundle/features.yaml --base ./test/bundle/asyncapi.yaml -o ./output/bundle/asyncapi.yaml'
55
55
test-bundle :
56
56
mkdir -p ./output/bundle
57
57
@bash ./entrypoint.sh $(DEFAULT_VERSION ) ' bundle' ' test/bundle/asyncapi.yaml' $(DEFAULT_TEMPLATE ) $(DEFAULT_LANGUAGE ) $(DEFAULT_OUTPUT ) ' -o output/bundle/asyncapi.yaml' $(BUNDLE_COMMAND )
Original file line number Diff line number Diff line change 38
38
using : ' docker'
39
39
# This is the image that will be used to run the action.
40
40
# IMPORTANT: The version has to be changed manually in your PRs.
41
- image : ' docker://asyncapi/github-action-for-cli:3.1.1 '
41
+ image : ' docker://asyncapi/github-action-for-cli:3.1.2 '
42
42
args :
43
43
- ${{ inputs.cli_version }}
44
44
- ${{ inputs.command }}
Original file line number Diff line number Diff line change @@ -14,6 +14,6 @@ echo "Package version: $version";
14
14
if [[ $action_version > $version ]]; then
15
15
echo " Action version is greater than package version" ;
16
16
else \
17
- echo " Action version has not been bumped. Please bump the action version to the semantically correct version after $$ version" ; \
17
+ echo " Action version has not been bumped. Please bump the action version to the semantically correct version after $version " ; \
18
18
exit 1; \
19
19
fi
Original file line number Diff line number Diff line change 5
5
description : This service is in charge of processing user logouts
6
6
channels :
7
7
user/loggedOut :
8
- subcribe :
8
+ subscribe :
9
9
message :
10
- $ref : ' test/bundle/messages.yaml#/messages/UserLoggedOut'
10
+ $ref : " ./ test/bundle/messages.yaml#/messages/UserLoggedOut"
You can’t perform that action at this time.
0 commit comments