feat: add Gitea Actions workflow to build, package, upload, and release the Firefox extension.
This commit is contained in:
@@ -56,10 +56,15 @@ jobs:
|
|||||||
|
|
||||||
- name: Upload to Gitea Packages
|
- name: Upload to Gitea Packages
|
||||||
run: |
|
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 }}" \
|
-H "Authorization: token ${{ secrets.ACCESS_TOKEN }}" \
|
||||||
--upload-file "build/container-bookmarks-${{ steps.version.outputs.version }}.xpi" \
|
--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:
|
release:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
|
|||||||
Reference in New Issue
Block a user