Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
amazliah committed Nov 16, 2023
1 parent 20cc5b5 commit d2d082f
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,18 @@ jobs:
with:
lfs: true

- name: Get next version
uses: reecetech/[email protected]
id: version
- name: Get current tag
id: current-tag
uses: WyriHaximus/github-action-get-previous-tag@v1
with:
scheme: calver
fallback: v0

- name: Increase tag version
id: next-tag
uses: WyriHaximus/github-action-next-semvers@v1
with:
version: ${{ steps.current-tag.outputs.tag }}
strict: false

- name: Setup
run: |
Expand All @@ -43,7 +50,12 @@ jobs:
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: windows-${{ steps.version.outputs.version }}
name: windows-${{ steps.semvers.outputs.v_major }}
path: build/windows/
if-no-files-found: error


- name: 'Create new milestone'
id: createmilestone
uses: "WyriHaximus/github-action-create-milestone@v1"
with:
title: ${{ steps.semvers.outputs.v_major }}

0 comments on commit d2d082f

Please sign in to comment.