Skip to content

Commit

Permalink
Fix paths in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jsmnbom committed Jul 22, 2024
1 parent ec16783 commit b2955e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
API_KEY: ${{ secrets.AMO_API_KEY }}
API_SECRET: ${{ secrets.AMO_API_SECRET }}
CHANNEL: ${{ steps.semver_parser.outputs.prerelease && 'unlisted' || 'listed' }}
VERSION: ${{ steps.semver_parser.outputs.version }}
run: echo bun exec web-ext sign --config=scripts/web-ext.firefox.cjs --channel=unlisted "--api-key=$API_KEY" "--api-secret=$API_SECRET" --upload-source-code="ao3-enhancements-$VERSION.source.zip"
VERSION: ${{ steps.semver_parser.outputs.fullversion }}
run: echo bun exec web-ext sign --config=scripts/web-ext.firefox.cjs --channel=unlisted "--api-key=$API_KEY" "--api-secret=$API_SECRET" --upload-source-code="dist/artifacts/source/ao3-enhancements_source_$VERSION.zip"

- name: Release
uses: softprops/action-gh-release@v2
with:
draft: true
prerelease: ${{ steps.semver_parser.outputs.prerelease }}
files: |
dist/ao3-enhancements_chrome_${{ steps.semver_parser.outputs.version }}.zip
dist/ao3-enhancements_firefox_${{ steps.semver_parser.outputs.version }}.zip
dist/ao3-enhancements_source_${{ steps.semver_parser.outputs.version }}.zip
dist/artifacts/chrome/ao3-enhancements_chrome_${{ steps.semver_parser.outputs.fullversion }}.zip
dist/artifacts/firefox/ao3-enhancements_firefox_${{ steps.semver_parser.outputs.fullversion }}.zip
dist/artifacts/source/ao3-enhancements_source_${{ steps.semver_parser.outputs.fullversion }}.zip

0 comments on commit b2955e5

Please sign in to comment.