Skip to content

Commit

Permalink
BDE-226 ensure we're releasing the correct zip file for chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
nxmatic committed Apr 2, 2024
1 parent aadae7a commit 1d238da
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,28 +46,16 @@ jobs:
name: chrome
path: ./dist/chrome

release:
needs: build
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Download artifact
uses: actions/download-artifact@v4
with:
name: chrome
path: ./dist/chrome

- name: Zip artifact
if: startsWith(github.ref, 'refs/tags/')
env:
VERSION: ${{ github.ref_name }}
run: |
cd ./dist/chrome
zip -r ../BrowserDeveloperExtension-Chrome-$VERSION.zip .
- name: Create Release and Upload Asset
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v2
with:
files: ./dist/BrowserDeveloperExtension-Chrome-*.zip
Expand Down

0 comments on commit 1d238da

Please sign in to comment.