Update ci.yaml

This commit is contained in:
m1337v 2024-08-29 22:13:52 +07:00 committed by GitHub
parent cf34c3e385
commit 0ed9b9063c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 0 deletions

View File

@ -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 }}