Update main.yml

This commit is contained in:
𝓙𝓾𝓵𝓲𝓸
2024-09-01 06:20:03 +02:00
committed by GitHub
parent b6c8c9ce96
commit 4f745516cd
+8 -2
View File
@@ -86,10 +86,16 @@ jobs:
echo "Debian package created at /opt/${PKG_NAME}_${VERSION}_${ARCH}.deb" echo "Debian package created at /opt/${PKG_NAME}_${VERSION}_${ARCH}.deb"
}; create_deb' }; create_deb'
- name: Create Git Tag
run: |
git config user.name "theraw"
git config user.email "raw@dopehosting.net"
git tag v${{ steps.build.outputs.VERSION }}
git push origin v${{ steps.build.outputs.VERSION }}
- name: Upload .deb Package as Release Asset - name: Upload .deb Package as Release Asset
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
files: /opt/*.deb files: /opt/*.deb
env: env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_TAG: v${{ steps.build.outputs.VERSION }}