ci: Add Gitea workflow to build, package, upload, and release the Firefox extension.
All checks were successful
Build Firefox Extension / build (push) Successful in 5s
Build Firefox Extension / release (push) Has been skipped

This commit is contained in:
Elmar Kresse
2026-01-20 01:19:31 +01:00
parent 759603512c
commit ee6992d1a5

View File

@@ -13,6 +13,9 @@ on:
jobs: jobs:
build: build:
runs-on: docker runs-on: docker
permissions:
contents: read
packages: write
container: container:
image: node:20-alpine image: node:20-alpine
steps: steps:
@@ -54,7 +57,7 @@ jobs:
- name: Upload to Gitea Packages - name: Upload to Gitea Packages
run: | run: |
curl --fail \ curl --fail \
-H "Authorization: token ${{ secrets.GITHUB_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" "${GITHUB_SERVER_URL}/api/packages/${GITHUB_REPOSITORY_OWNER}/generic/container-bookmarks/${{ steps.version.outputs.version }}/container-bookmarks-${{ steps.version.outputs.version }}.xpi"