Skip to content

Commit

Permalink
Automatically update the extension's update manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Sep 22, 2020
1 parent 60c9a17 commit 869f2f5
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ jobs:
release_name: Release ${{ steps.version.outputs.version }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
- name: Upload the xpi file as a release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -50,3 +49,13 @@ jobs:
asset_path: ${{ steps.filename.outputs.filename }}
asset_name: ophirofox.xpi
asset_content_type: application/zip
- run: ./update-manifest.py | tee /tmp/update_manifest.json
- name: Upload the extension's update manifest
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /tmp/update_manifest.json
asset_name: update_manifest.json
asset_content_type: application/json

0 comments on commit 869f2f5

Please sign in to comment.