Skip to content

Commit

Permalink
Fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
rradczewski committed May 23, 2024
1 parent d1adb0f commit 0be5970
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@ jobs:

steps:
- name: Run another action
uses: crftd-tech/trunkver@main
id: trunkver
uses: crftd-tech/trunkver@main
- name: Print trunkver
run: echo "The trunkver is ${{ steps.trunkver.outputs.trunkver }}"
9 changes: 6 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ author: crftd.tech

outputs:
trunkver:
description: The trunkver
description: The trunkver

runs:
using: docker
image: docker://ghcr.io/crftd/trunkver:latest
entrypoint: "/bin/sh -c 'echo trunkver=$(trunkver) | tee $GITHUB_OUTPUT'"
image: docker://ghcr.io/crftd-tech/trunkver:latest
entrypoint: /bin/sh
args:
- -c
- echo trunkver=$(/trunkver) | tee $GITHUB_OUTPUT

0 comments on commit 0be5970

Please sign in to comment.