-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ddd929a
commit 0c9b2ac
Showing
2 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Build and Release 🏗 | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- name: Checkout Code 🛎 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- 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: | | ||
apt update | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters