Skip to content

Commit

Permalink
Copy signed XPI to real name
Browse files Browse the repository at this point in the history
  • Loading branch information
imigueldiaz committed Mar 29, 2024
1 parent ea47c00 commit 0536fe2
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/firefox-addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ jobs:
VERSION_PART=$(echo "$XPI_NAME" | cut -d '-' -f 2)
echo "::set-output name=version::$VERSION_PART"
- name: Copy signed XPI to real name
id: copy-xpi
run: |
cp ${{ steps.find-xpi.outputs.xpi_name }} ./artifacts/quick_abstract.xpi
- name: Configure Git
run: |
git config --global user.email "[email protected]"
Expand All @@ -85,26 +90,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload signed XPI as quick_abstract-version
- name: Upload signed XPI as quick_abstract.xpi
uses: softprops/action-gh-release@v1
with:
files: ${{ steps.find-xpi.outputs.xpi_name }}
files: ./artifacts/quick_abstract.xpi
name: quick_abstract-${{ steps.extract-version.outputs.version }}
tag_name: ${{ steps.extract-version.outputs.version }}
asset_name: quick_abstract-${{ steps.extract-version.outputs.version }}.xpi
draft: false
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload signed XPI as quick_abstract-latest
uses: softprops/action-gh-release@v1
with:
files: ${{ steps.find-xpi.outputs.xpi_name }}
name: quick_abstract-latest
tag_name: ${{ steps.extract-version.outputs.version }}
asset_name: quick_abstract-latest.xpi
draft: false
prerelease: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0536fe2

Please sign in to comment.