-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
amazliah
committed
Nov 16, 2023
1 parent
20cc5b5
commit d2d082f
Showing
1 changed file
with
18 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
@@ -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 }} |