Update ci.yaml
This commit is contained in:
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@@ -40,6 +40,15 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
echo "TAG_NAME=${TAG_NAME}" >> $GITHUB_ENV
|
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
|
- name: Build Release package - Rootful
|
||||||
run: |
|
run: |
|
||||||
cd screendumpLowFrame
|
cd screendumpLowFrame
|
||||||
@@ -56,5 +65,6 @@ jobs:
|
|||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: screendumpLowFrame/packages/*.deb
|
files: screendumpLowFrame/packages/*.deb
|
||||||
|
tag_name: ${{ env.TAG_NAME }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user