feat: add Gitea Actions workflow to build, package, upload, and release the Firefox extension.
Some checks failed
Build Firefox Extension / build (push) Failing after 5s
Build Firefox Extension / release (push) Has been skipped

This commit is contained in:
Elmar Kresse
2026-01-20 01:21:01 +01:00
parent ee6992d1a5
commit ccc4ace7c4

View File

@@ -56,10 +56,15 @@ jobs:
- name: Upload to Gitea Packages
run: |
curl --fail \
echo "Server URL: ${GITHUB_SERVER_URL}"
echo "Repository Owner: ${GITHUB_REPOSITORY_OWNER}"
echo "Repository: ${GITHUB_REPOSITORY}"
PACKAGE_URL="${GITHUB_SERVER_URL}/api/packages/${GITHUB_REPOSITORY_OWNER}/generic/container-bookmarks/${{ steps.version.outputs.version }}/container-bookmarks-${{ steps.version.outputs.version }}.xpi"
echo "Package URL: ${PACKAGE_URL}"
curl --fail -v \
-H "Authorization: token ${{ secrets.ACCESS_TOKEN }}" \
--upload-file "build/container-bookmarks-${{ steps.version.outputs.version }}.xpi" \
"${GITHUB_SERVER_URL}/api/packages/${GITHUB_REPOSITORY_OWNER}/generic/container-bookmarks/${{ steps.version.outputs.version }}/container-bookmarks-${{ steps.version.outputs.version }}.xpi"
"${PACKAGE_URL}"
release:
runs-on: docker