From 0ed9b9063c0720217acf05cd34bede8ea6598e88 Mon Sep 17 00:00:00 2001 From: m1337v Date: Thu, 29 Aug 2024 22:13:52 +0700 Subject: [PATCH] Update ci.yaml --- .github/workflows/ci.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b1fe492..56c7b7e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -40,6 +40,15 @@ jobs: fi echo "TAG_NAME=${TAG_NAME}" >> $GITHUB_ENV + - name: Create Tag + run: | + git config --local user.name "github-actions[bot]" + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git tag ${{ env.TAG_NAME }} || echo "Tag already exists." + git push origin ${{ env.TAG_NAME }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Build Release package - Rootful run: | cd screendumpLowFrame @@ -56,5 +65,6 @@ jobs: uses: softprops/action-gh-release@v1 with: files: screendumpLowFrame/packages/*.deb + tag_name: ${{ env.TAG_NAME }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}