Skip to content

Commit

Permalink
feat(semver): add support for semantic version as input
Browse files Browse the repository at this point in the history
  • Loading branch information
dharsanb committed Jun 18, 2024
1 parent 98cc815 commit 37fa648
Show file tree
Hide file tree
Showing 5 changed files with 7,576 additions and 589 deletions.
32 changes: 31 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:

test-action:
name: GitHub Actions Test
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

strategy:
matrix:
Expand All @@ -55,7 +57,35 @@ jobs:
- name: Test Local Action
uses: ./
with:
version: '0.12.0'
version: '0.13.1'

- name: Ensure humctl is installed
id: humctl_version_0_13_1
run: humctl version

- name: Ensure correct version is installed
id: check_output
run: |
echo "Checking the humctl version"
if [ "${{ steps.humctl_version_0_13_1.outputs.result }}" != "humctl version 0.13.1" ]; then
echo "The correct version wasn't installed"
echo ${{ steps.humctl_version_0_13_1.outputs.result }}
exit 1
fi
- name: Test Local Action
uses: ./
with:
version: '0.13'

- name: Ensure humctl is installed
id: humctl_version_0_13
run: humctl version

- name: Ensure correct version is installed
run: |
echo "Checking the humctl version"
if [ "${{ steps.humctl_version_0_13.outputs.result }}" != "humctl version 0.13.7" ]; then
echo "The correct version wasn't installed"
exit 1
fi
Loading

0 comments on commit 37fa648

Please sign in to comment.