From bf9933f203d1502e932927b3f4462762cea49829 Mon Sep 17 00:00:00 2001 From: Piotr Lewandowski Date: Sun, 2 Jul 2023 05:02:29 +0200 Subject: [PATCH] prrt --- .github/workflows/c-cpp.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 41e5167..46d64b0 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -1,4 +1,4 @@ -name: 'Debug Build' +name: 'auto release build' on: push: @@ -42,10 +42,10 @@ jobs: id: create_release uses: actions/create-release@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + tag_name: ${{ format('release-{0}', github.run_id) }} + release_name: Release ${{ format('release-{0}', github.run_id) }} draft: false prerelease: false