Test version string. #13
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test MultiTool Action | |
| on: | |
| push: | |
| branches-ignore: | |
| - trunk | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install MultiTool via Action | |
| uses: "./" | |
| with: | |
| version: "v0.3.0" | |
| - name: "Test CLI is installed" | |
| run: "which multi" | |
| - name: "Test CLI help works" | |
| run: "multi -h" | |
| - name: "Test CLI help works" | |
| run: | | |
| if [ $(multi version) = "v0.3.0" ]; then | |
| echo "Version exists." | |
| else | |
| echo "Version incorrect." | |
| exit 1 | |
| fi | |