Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lowlighter committed May 20, 2024
1 parent 03a8ab3 commit 9cd7e37
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,21 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- id: calculate_next_version
- id: tagging
uses: ldelarue/git-next-tag@v0
with:
tag-prefix: ${{ matrix.package }}-
scope: ${{ matrix.package }}
- uses: denoland/setup-deno@v1
- if: ${{ steps.calculate_next_version.outputs.tag }}
- if: ${{ steps.tagging.outputs.tag }}
shell: bash
run: |
deno task tag --version '${{ steps.calculate_next_version.outputs.tag }}' ${{ matrix.package }}
deno task tag --version '${{ steps.tagging.outputs.semver }}' ${{ matrix.package }}
deno fmt ${{ matrix.package }}/deno.jsonc
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git tag '${{ steps.calculate_next_version.outputs.tag }}'
git push origin '${{ steps.calculate_next_version.outputs.tag }}'
git tag '${{ steps.tagging.outputs.tag }}'
git push origin '${{ steps.tagging.outputs.tag }}'
publish:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
Expand Down

0 comments on commit 9cd7e37

Please sign in to comment.