From 3c5755c109a1e1d089f05f402452b97e4bbf3676 Mon Sep 17 00:00:00 2001 From: Wraient Date: Sun, 27 Oct 2024 02:18:35 +0530 Subject: [PATCH] Genius me --- .github/workflows/ci-cd.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index fe73a24..e005357 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -101,13 +101,12 @@ jobs: $patch = [int]$version_parts[2] + 1 $new_version = "$major.$minor.$patch" $new_version | Set-Content VERSION.txt - Write-Host "New version: $new_version" git config user.name "GitHub Actions" git config user.email "actions@github.com" git add VERSION.txt git commit -m "Bump version to $new_version" git tag "v$new_version" - echo "::set-output name=new_version::$new_version" + echo "new_version=$new_version" >> $GITHUB_OUTPUT - name: Update Inno Setup Script with New Version run: | @@ -129,4 +128,4 @@ jobs: draft: false prerelease: false env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Automatically provided token + GITHUB_TOKEN: ${{ secrets.ACTIONS_PAT }}