From 36f21cdf8437c60ce2219a42d4fe5391b28a5c27 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 5 Nov 2021 17:42:39 -0400 Subject: [PATCH 1/4] Updated action. --- action.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index bd41d6d2..7155c4c0 100644 --- a/action.yml +++ b/action.yml @@ -15,14 +15,11 @@ runs: using: 'composite' steps: - run: | - make run OUTPUT="${INPUT_OUTPUT}" ACTION="${INPUT_ACTION}" + curl -sf https://gobinaries.com/github.com/tj-actions/auto-doce@v1.0.0 | PREFIX=. sh + ./auto-doc --action="${{ inputs.action }}" --output="${{ inputs.output }}" + rm -f ./auto-doc id: auto-doc shell: bash - env: - # INPUT_ is not available in Composite run steps - # https://github.community/t/input-variable-name-is-not-available-in-composite-run-steps/127611 - INPUT_OUTPUT: ${{ inputs.output }} - INPUT_ACTION: ${{ inputs.action }} branding: icon: file-text color: white From bd3c46c13a8a1cddfcc98b4bd133c499fcf11133 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 5 Nov 2021 17:49:11 -0400 Subject: [PATCH 2/4] Fixed typo. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 7155c4c0..4fdae813 100644 --- a/action.yml +++ b/action.yml @@ -15,7 +15,7 @@ runs: using: 'composite' steps: - run: | - curl -sf https://gobinaries.com/github.com/tj-actions/auto-doce@v1.0.0 | PREFIX=. sh + curl -sf https://gobinaries.com/github.com/tj-actions/auto-doc@v1.0.0 | PREFIX=. sh ./auto-doc --action="${{ inputs.action }}" --output="${{ inputs.output }}" rm -f ./auto-doc id: auto-doc From 95c414cad26f4f701346e32d4d8aeb66734ad906 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 5 Nov 2021 17:50:32 -0400 Subject: [PATCH 3/4] Updated test. --- .github/workflows/test.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3eb27d1e..4f0d06f0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,18 +22,6 @@ jobs: workdir: test go_version: "1.14.4" - - name: Setup go - uses: actions/setup-go@v2 - with: - go-version: '1.14.4' - - - uses: actions/cache@v2 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go-v2- - - name: Run auto-doc using the current working directory uses: ./ From b16467fa624dda0c1c5ffd8fdc7012aa2c5c9c70 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 5 Nov 2021 17:51:24 -0400 Subject: [PATCH 4/4] Update action.yml --- action.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/action.yml b/action.yml index 4fdae813..968ae8c6 100644 --- a/action.yml +++ b/action.yml @@ -18,7 +18,6 @@ runs: curl -sf https://gobinaries.com/github.com/tj-actions/auto-doc@v1.0.0 | PREFIX=. sh ./auto-doc --action="${{ inputs.action }}" --output="${{ inputs.output }}" rm -f ./auto-doc - id: auto-doc shell: bash branding: icon: file-text