diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f1c3419..59fcb183 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,21 +46,8 @@ 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: | @@ -68,6 +55,7 @@ jobs: 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