Skip to content

Commit

Permalink
ci: Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
korapp committed Mar 21, 2024
1 parent 228a32a commit 906d25c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Release"
on:
push:
branches:
- master
- 'release/**'

jobs:
bump:
Expand All @@ -16,14 +16,17 @@ jobs:
changelog: ${{ steps.tag_version.outputs.changelog }}
steps:
- name: Checkout
uses: actions/checkout@v3
run: |
git clone https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} \
--single-branch --branch ${{ github.ref_name }} .
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/github-tag-action@v6.1
uses: mathieudutour/github-tag-action@v6.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: false
release_branches: release/.*

release:
name: "Release"
Expand All @@ -34,7 +37,7 @@ jobs:
if: ${{ needs.bump.outputs.new_tag != null }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: true

Expand Down

0 comments on commit 906d25c

Please sign in to comment.