mirror of
https://github.com/fmhy/FMHY-SafeGuard.git
synced 2026-03-11 08:55:40 +00:00
Delete .github/workflows/firefox-addon-upload.yml
Spamming/None Functional
This commit is contained in:
parent
9f729deef1
commit
306a0b5fee
1 changed files with 0 additions and 65 deletions
65
.github/workflows/firefox-addon-upload.yml
vendored
65
.github/workflows/firefox-addon-upload.yml
vendored
|
|
@ -1,65 +0,0 @@
|
|||
#name: Firefox Extension Release
|
||||
|
||||
#on:
|
||||
# create:
|
||||
# tags: # Only trigger when a tag is created
|
||||
# - '*'
|
||||
|
||||
#permissions:
|
||||
# contents: read
|
||||
|
||||
#jobs:
|
||||
# build:
|
||||
# permissions:
|
||||
# contents: write # Required for creating a release
|
||||
# name: Build and Upload Firefox Extension
|
||||
# runs-on: ubuntu-latest
|
||||
# if: startsWith(github.ref, 'refs/tags/')
|
||||
|
||||
# steps:
|
||||
# - name: Checkout repository
|
||||
# uses: actions/checkout@v2
|
||||
# with:
|
||||
# persist-credentials: false
|
||||
|
||||
# - name: Get release information
|
||||
# id: release_info
|
||||
# run: |
|
||||
# echo "::set-output name=VERSION::${GITHUB_REF/refs/tags/}"
|
||||
|
||||
# - name: Install web-ext
|
||||
# run: npm install --global web-ext
|
||||
|
||||
# - name: Build and Sign Firefox Extension
|
||||
# run: |
|
||||
# web-ext sign --source-dir . \
|
||||
# --artifacts-dir web-ext-artifacts \
|
||||
# --api-key ${{ secrets.AMO_API_KEY }} \
|
||||
# --api-secret ${{ secrets.AMO_API_SECRET }} \
|
||||
# --channel unlisted \
|
||||
# --no-input
|
||||
# env:
|
||||
# AMO_API_KEY: ${{ secrets.AMO_API_KEY }}
|
||||
# AMO_API_SECRET: ${{ secrets.AMO_API_SECRET }}
|
||||
|
||||
# - name: Create GitHub release
|
||||
# id: create_release
|
||||
# uses: actions/create-release@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# tag_name: ${{ steps.release_info.outputs.VERSION }}
|
||||
# release_name: "Firefox Extension v${{ steps.release_info.outputs.VERSION }}"
|
||||
# draft: false
|
||||
# prerelease: false
|
||||
# body: "Release version ${{ steps.release_info.outputs.VERSION }} of the Firefox extension."
|
||||
|
||||
# - name: Upload Firefox package to GitHub Release
|
||||
# uses: actions/upload-release-asset@v1
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
# with:
|
||||
# upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
# asset_path: web-ext-artifacts/*.xpi # Use the signed extension from the artifacts
|
||||
# asset_name: your-extension-${{ steps.release_info.outputs.VERSION }}.xpi
|
||||
# asset_content_type: application/x-xpinstall
|
||||
Loading…
Reference in a new issue