Skip to content

Commit

Permalink
fix: update release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 committed Dec 16, 2024
1 parent fc27de4 commit cb684e7
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,26 @@ jobs:
draft: false
prerelease: true

- name: Upload Release Asset
- name: Upload Release Asset Chrome
if: ${{ steps.version.outputs.VERSION != '' }}
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.TOLGEE_MACHINE_PAT }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist-zip/dist.zip
asset_path: ./dist-zip/chrome.zip
asset_name: Tolgee-chrome-${{ steps.version.outputs.VERSION }}.zip
asset_content_type: application/zip

- name: Upload Release Asset Firefox
if: ${{ steps.version.outputs.VERSION != '' }}
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.TOLGEE_MACHINE_PAT }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist-zip/firefox.zip
asset_name: Tolgee-firefox-${{ steps.version.outputs.VERSION }}.zip
asset_content_type: application/zip

0 comments on commit cb684e7

Please sign in to comment.