Skip to content

Commit

Permalink
Fix chrome build
Browse files Browse the repository at this point in the history
  • Loading branch information
OctoNezd authored Dec 30, 2023
1 parent b9c7385 commit 521c3c9
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/make-rel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,18 @@ jobs:
uses: zoexx/github-action-json-file-properties@release
with:
file_path: "dist/manifest.json"
- name: Upload source code for AMO
if: ${{ matrix.make_target == 'firefox-public' }}
run: node dev/upload-amo-source.mjs
env:
WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }}
WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }}
- name: Release
uses: softprops/action-gh-release@v1
id: release
with:
files: oldlander.crx,web-ext-artifacts/*.xpi,web-ext-artifacts/*.zip,dist/oldlander.user.js
tag_name: "${{steps.manifest.outputs.version}}"
- name: Update Chrome update manifest
if: ${{ matrix.make_target == 'chrome' }}
uses: jacobtomlinson/gha-find-replace@v3
Expand All @@ -69,16 +81,4 @@ jobs:
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git commit -m "Chrome OTA manifest for version ${{steps.manifest.outputs.version}}"
git push origin chrome-ota -f
- name: Upload source code for AMO
if: ${{ matrix.make_target == 'firefox-public' }}
run: node dev/upload-amo-source.mjs
env:
WEB_EXT_API_KEY: ${{ secrets.WEB_EXT_API_KEY }}
WEB_EXT_API_SECRET: ${{ secrets.WEB_EXT_API_SECRET }}
- name: Release
uses: softprops/action-gh-release@v1
id: release
with:
files: oldlander.crx,web-ext-artifacts/*.xpi,web-ext-artifacts/*.zip,dist/oldlander.user.js
tag_name: "${{steps.manifest.outputs.version}}"
git push origin chrome-ota -f

0 comments on commit 521c3c9

Please sign in to comment.