Skip to content

Commit

Permalink
Change action format
Browse files Browse the repository at this point in the history
  • Loading branch information
VOID404 committed Sep 11, 2024
1 parent 5864490 commit f7fecb2
Showing 1 changed file with 5 additions and 17 deletions.
22 changes: 5 additions & 17 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit f7fecb2

Please sign in to comment.