From 00232db4218fc919a50cd53f49118c3e6e0d4f25 Mon Sep 17 00:00:00 2001 From: Mikhail Zolotukhin Date: Sun, 3 Oct 2021 16:30:17 +0300 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=91=B7=20publish=20artifacts=20on?= =?UTF-8?q?=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-please.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 8083ae59..4a12abe1 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -11,9 +11,30 @@ on: jobs: release-please: + name: Release Please runs-on: ubuntu-latest steps: - - uses: GoogleCloudPlatform/release-please-action@v2 + - name: Release Please 🔖 + uses: GoogleCloudPlatform/release-please-action@v2 + id: release with: release-type: node package-name: release-please-action + + - uses: actions/checkout@v2 + if: ${{ steps.release.outputs.release_created }} + + - name: Package 📦 + run: | + npm install + npm run package + if: ${{ steps.release.outputs.release_created }} + + - name: Publish 🎉 + uses: softprops/action-gh-release@v1 + with: + tag_name: ${{ steps.release.outputs.tag_name }} + files: | + build/package/bismuth.tar.gz + build/package/bismuth.kwinscript + if: ${{ steps.release.outputs.release_created }}