Skip to content

ci: fix release workflow #2

ci: fix release workflow

ci: fix release workflow #2

Workflow file for this run

name: Build and Release 🏗
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Code 🛎
uses: actions/checkout@v4
- name: Setup pnpm 📦
uses: pnpm/action-setup@v2
with:
version: "8"
- name: Setup Node.js 🟩
uses: actions/setup-node@v4
with:
cache: "pnpm"
node-version: "20"
- name: Add Gnome Extension Tools 🧩
run: |
sudo apt update
sudo apt install -y gnome-shell-extensions
- name: Install Dependencies 📥
run: pnpm install
- name: Build 🏗
run: pnpm build
- name: Release 🚀
uses: softprops/action-gh-release@v2
with:
files: dist/*.shell-extension.zip
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ github.ref }}
body: "Release ${{ github.ref }}"
draft: false
prerelease: false