From f7fecb298bfc7c27d3151873f9993765c4dcaf9a Mon Sep 17 00:00:00 2001 From: VOID404 Date: Wed, 11 Sep 2024 20:34:15 +0200 Subject: [PATCH] Change action format --- action.yaml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/action.yaml b/action.yaml index 1ed6703..348ee6d 100644 --- a/action.yaml +++ b/action.yaml @@ -8,20 +8,8 @@ inputs: description: "File to write output to" required: true runs: - using: "composite" - steps: - - name: Checkout action code - uses: actions/checkout@v4 - with: - ref: main - repository: ${{ github.action_repository }} - path: ./gha-summarizer - - - name: Setup Go environment - uses: actions/setup-go@v5 - with: - go-version-file: ./gha-summarizer/go.mod - - - name: Run templating - run: go run ./gha-summarizer/main.go ${{ inputs.template }} ${{ inputs.output }} - shell: bash + using: docker + image: Dockerfile + args: + - ${{ inputs.template }} + - ${{ inputs.out-file }}