Compare commits
6 Commits
eb4c2d6e0e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d2da0a4bc | ||
|
|
a17441cda3 | ||
|
|
c4f5835424 | ||
|
|
7773c3b808 | ||
|
|
b8e861cf9e | ||
|
|
318ce6c064 |
@@ -10,7 +10,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: archlinux
|
||||||
container:
|
container:
|
||||||
image: node:25
|
image: node:25
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ jobs:
|
|||||||
run: just build-package
|
run: just build-package
|
||||||
|
|
||||||
- name: Upload extension package
|
- name: Upload extension package
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: aerospike-extension
|
name: aerospike-extension
|
||||||
path: aerospike.zip
|
path: aerospike.zip
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
|
|
||||||
release:
|
release:
|
||||||
needs: build
|
needs: build
|
||||||
runs-on: ubuntu-latest
|
runs-on: archlinux
|
||||||
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
|
||||||
environment:
|
environment:
|
||||||
name: production
|
name: production
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@v7
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: aerospike-extension
|
name: aerospike-extension
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import Meta from 'gi://Meta';
|
import Meta from 'gi://Meta';
|
||||||
import {Extension, ExtensionMetadata} from 'resource:///org/gnome/shell/extensions/extension.js';
|
import {Extension} from 'resource:///org/gnome/shell/extensions/extension.js';
|
||||||
import * as Main from 'resource:///org/gnome/shell/ui/main.js';
|
import * as Main from 'resource:///org/gnome/shell/ui/main.js';
|
||||||
import Gio from 'gi://Gio';
|
import Gio from 'gi://Gio';
|
||||||
import Shell from 'gi://Shell';
|
import Shell from 'gi://Shell';
|
||||||
@@ -11,7 +11,7 @@ export default class aerospike extends Extension {
|
|||||||
keyBindings: Map<string, number>;
|
keyBindings: Map<string, number>;
|
||||||
windowManager: WindowManager;
|
windowManager: WindowManager;
|
||||||
|
|
||||||
constructor(metadata: ExtensionMetadata) {
|
constructor(metadata: ConstructorParameters<typeof Extension>[0]) {
|
||||||
super(metadata);
|
super(metadata);
|
||||||
this.settings = this.getSettings('org.gnome.shell.extensions.aerospike');
|
this.settings = this.getSettings('org.gnome.shell.extensions.aerospike');
|
||||||
this.keyBindings = new Map();
|
this.keyBindings = new Map();
|
||||||
|
|||||||
2
justfile
2
justfile
@@ -8,7 +8,7 @@ packages:
|
|||||||
|
|
||||||
build: packages && build-schemas
|
build: packages && build-schemas
|
||||||
rm -rf dist/*
|
rm -rf dist/*
|
||||||
tsc
|
pnpm exec tsc
|
||||||
cp metadata.json dist/
|
cp metadata.json dist/
|
||||||
cp stylesheet.css dist/
|
cp stylesheet.css dist/
|
||||||
mkdir -p dist/schemas
|
mkdir -p dist/schemas
|
||||||
|
|||||||
@@ -2,5 +2,11 @@
|
|||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"extends": [
|
||||||
"config:recommended"
|
"config:recommended"
|
||||||
|
],
|
||||||
|
"packageRules": [
|
||||||
|
{
|
||||||
|
"matchPackageNames": ["actions/upload-artifact", "actions/download-artifact"],
|
||||||
|
"allowedVersions": "<4"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user