Skip to content

Commit

Permalink
Merge pull request #16 from kisimediaDE/test
Browse files Browse the repository at this point in the history
[minor] Update blank.yml
  • Loading branch information
kisimediaDE authored May 24, 2024
2 parents 6a83d52 + ebb1a02 commit 2665b6c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Get next version
uses: reecetech/[email protected]
id: version
if: ${{ steps.keyword.outputs.versionType != "none" }}
if: steps.keyword.outputs.versionType != "none"
with:
scheme: semver
prerelease: false
Expand All @@ -49,21 +49,21 @@ jobs:
increment: ${{ steps.keyword.outputs.versionType }}

- id: tag_name
if: ${{ steps.keyword.outputs.versionType != "none" }}
if: steps.keyword.outputs.versionType != "none"
run: echo "version=$(date +'%Y%m%d%H%M%S')" >> "$GITHUB_OUTPUT"

- name: Create version number file in release and update
if: ${{ steps.keyword.outputs.versionType != "none" }}
if: steps.keyword.outputs.versionType != "none"
run: |
echo ${{ steps.version.outputs.version }}\|${{ steps.tag_name.outputs.version }} > version
- name: Zip Release
if: ${{ steps.keyword.outputs.versionType != "none" }}
if: steps.keyword.outputs.versionType != "none"
run: |
zip -r release.zip .
- name: Upload Release
if: ${{ steps.keyword.outputs.versionType != "none" }}
if: steps.keyword.outputs.versionType != "none"
uses: softprops/[email protected]
with:
files: release.zip
Expand Down

0 comments on commit 2665b6c

Please sign in to comment.