From 4fa201b2a2a03eba96498ddfa627409bdb1ab682 Mon Sep 17 00:00:00 2001 From: gautamkrishnar Date: Sat, 26 Jun 2021 22:39:22 +0530 Subject: [PATCH] fixed pipeline --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 14 +++++++------- package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 997816a..6a12396 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ jobs: test: if: | !startsWith(github.ref, 'refs/tags') - name: Generate build and test + name: Generate build runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6017557..f128c30 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,16 +25,16 @@ jobs: zip -r dist/opera.zip dist/opera - name: Create Release id: create_release - uses: actions/create-release@v1 + uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: files: | - dist/chrome.zip - dist/edge.zip - dist/firefox.zip - dist/opera.zip + ./dist/chrome.zip + ./dist/edge.zip + ./dist/firefox.zip + ./dist/opera.zip tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - draft: true + release_name: ${{ github.ref }} + draft: false prerelease: false \ No newline at end of file diff --git a/package.json b/package.json index c07d4bc..48fc89d 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "webextension-toolbox dev", "build": "webextension-toolbox build", - "build-all": "webextension-toolbox build chrome firefox opera edge" + "build-all": "webextension-toolbox build chrome && webextension-toolbox build firefox && webextension-toolbox build opera && webextension-toolbox build edge" }, "devDependencies": { "webextension-toolbox": "latest"