From 0353dd7aa9d359af13ecd0f49212cd8759405fd5 Mon Sep 17 00:00:00 2001 From: Nyimbi Odero Date: Sun, 1 Dec 2024 23:47:12 +0300 Subject: [PATCH] updated manifest.json --- .github/workflows/release.yml | 36 ++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 39363b7..d51fbfe 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1 +1,35 @@ -.github/workflows/release.yml \ No newline at end of file +name: Release Builds + +on: + push: + tags: + - "*" + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: '18' + + - name: Build plugin + run: | + npm install + npm run build + + - name: Create release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + tag="${GITHUB_REF#refs/tags/}" + + gh release create "$tag" \ + --title="$tag" \ + --draft=false \ + --prerelease=false \ + main.js manifest.json styles.css