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 }}