From ebb1a023a3f98e7723ba9ec42e9719314b21541e Mon Sep 17 00:00:00 2001 From: "Kisimedia.de" Date: Fri, 24 May 2024 13:30:04 +0200 Subject: [PATCH] Update blank.yml --- .github/workflows/blank.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml index 13f99d7..2645b5d 100644 --- a/.github/workflows/blank.yml +++ b/.github/workflows/blank.yml @@ -40,7 +40,7 @@ jobs: - name: Get next version uses: reecetech/version-increment@2024.4.4 id: version - if: ${{ steps.keyword.outputs.versionType != "none" }} + if: steps.keyword.outputs.versionType != "none" with: scheme: semver prerelease: false @@ -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/action-gh-release@v2.0.5 with: files: release.zip