-
Notifications
You must be signed in to change notification settings - Fork 7
35 lines (35 loc) · 1.01 KB
/
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
on: [push, pull_request]
name: Run CI
jobs:
make:
name: Build and Upload Libhooker-Configurator
runs-on: macos-latest
env:
THEOS: theos
steps:
- name: Checkout
uses: actions/checkout@master
with:
submodules: true
- name: Install ldid and dpkg
run: |
brew install ldid dpkg
- name: Build libhooker-configurator
run: |
make clean package BETA=1 DEBUG=0
- name: Upload To Repo
env: #
token: ${{ secrets.AMY_REPO_SECRET }}
run: |
package=$(ls -t packages | head -n1)
curl -F deb="@./packages/${package}" -H "Auth: ${token}" https://api.anamy.gay/private/repo/upload
curl -H "Auth: ${token}" https://api.anamy.gay/private/repo/repackage
lint:
name: Lint libhooker-configurator
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Run SwiftLint
uses: norio-nomura/[email protected]