Skip to content

Commit

Permalink
update test action
Browse files Browse the repository at this point in the history
  • Loading branch information
robzr committed Mar 22, 2024
1 parent a0d1116 commit e7416fe
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/test_action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,23 @@ jobs:
- uses: actions/checkout@v4

- run: |
.github/workflows/bin/
# test that action has current sver embedded
.github/workflows/bin/embed_sver_in_action.sh
if ! git diff --quiet action.yaml ; then
echo '::error title=Action not updated::The action /action.yaml' \
'was not updated with the current sver script.'
exit 1
fi
shell: bash
with:
command: version
- uses: ./
name: sver version
with:
command: version

- uses: ./
name: sver max
with:
command: max
input-command: git tag -l

0 comments on commit e7416fe

Please sign in to comment.