-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (36 loc) · 1004 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Build
on:
release:
types: [created, edited]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install eslint
run: |
npm install -g eslint eslint-plugin-jsdoc
- name: Run lint
run: |
make lint
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up GNOME Build Dependencies
run: |
sudo apt-get update
sudo apt-get install -y gnome-shell-extensions
- name: Build GNOME Extension
run: |
make build
mkdir ext
unzip github-actions@arononak.github.io.shell-extension.zip -d ./ext
rm github-actions@arononak.github.io.shell-extension.zip
- name: Upload Extension
uses: actions/upload-artifact@v2
with:
name: github-actions@arononak.github.io.shell-extension
path: ext/