Skip to content

Commit

Permalink
feat(prefix): adding prefix to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AmitBenAmi committed Dec 21, 2022
1 parent e2f5a78 commit b8a4283
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,19 @@ jobs:
echo "Timestamp: ${{ steps.previoustag.outputs.timestamp }}"
test -n "${{ steps.previoustag.outputs.tag }}"
test -n "${{ steps.previoustag.outputs.timestamp }}"
- name: Add tag with prefix
run: |
git tag tag-with-prefix-v1.0.0
- name: 'Get Previous tag with prefix'
id: previoustagwithprefix
uses: ./
with:
prefix: tag-with-prefix-v
- run: |
echo "Tag: ${{ steps.previoustagwithprefix.outputs.tag }}"
echo "Timestamp: ${{ steps.previoustagwithprefix.outputs.timestamp }}"
test -n "${{ steps.previoustagwithprefix.outputs.tag }}"
test -n "${{ steps.previoustagwithprefix.outputs.timestamp }}"
- name: Remove tags
uses: JesseTG/rm@v1.0.2
with:
Expand Down

0 comments on commit b8a4283

Please sign in to comment.