From bc5d813561cd239bce06af9d47d1d8889adaa804 Mon Sep 17 00:00:00 2001 From: zachey <63107653+zachey01@users.noreply.github.com> Date: Wed, 23 Oct 2024 18:25:05 +0500 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8b058f2..476429e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,8 @@ on: jobs: build-and-release: - runs-on: self-hosted + runs-on: windows-latest + steps: - name: Checkout repository uses: actions/checkout@v3 @@ -37,9 +38,9 @@ jobs: id: create_release uses: actions/create-release@v1 with: - tag_name: v1.${{ github.run_number }} - release_name: "Release v1.${{ github.run_number }}" - body: "Automatic release v1.${{ github.run_number }}" + tag_name: v1.0.${{ github.run_number }} + release_name: "Release v1.0.${{ github.run_number }}" + body: "Automatic release v1.0.${{ github.run_number }}" draft: false prerelease: false env: @@ -52,3 +53,5 @@ jobs: asset_path: ./SmoothedScroll.exe asset_name: SmoothedScroll.exe asset_content_type: application/octet-stream + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}