This commit is contained in:
@@ -113,6 +113,18 @@ jobs:
|
|||||||
cd build
|
cd build
|
||||||
zip -r "../${SLUG}-${{ steps.meta.outputs.version }}.zip" "${SLUG}"
|
zip -r "../${SLUG}-${{ steps.meta.outputs.version }}.zip" "${SLUG}"
|
||||||
|
|
||||||
|
- name: Debug - check RELEASE_TOKEN is set
|
||||||
|
if: steps.check.outputs.should_release == 'true'
|
||||||
|
run: |
|
||||||
|
if [ -z "${{ secrets.RELEASE_TOKEN }}" ]; then
|
||||||
|
echo "::error::RELEASE_TOKEN secret is empty or not set."
|
||||||
|
exit 1
|
||||||
|
else
|
||||||
|
echo "RELEASE_TOKEN is set (length: ${#TOKEN})."
|
||||||
|
fi
|
||||||
|
env:
|
||||||
|
TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
|
|
||||||
- name: Create Gitea Release
|
- name: Create Gitea Release
|
||||||
if: steps.check.outputs.should_release == 'true'
|
if: steps.check.outputs.should_release == 'true'
|
||||||
uses: https://github.com/akkuman/gitea-release-action@v1
|
uses: https://github.com/akkuman/gitea-release-action@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user