-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (43 loc) · 1.18 KB
/
releaserk3566.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
37
38
39
40
41
42
43
44
name: Build & Release
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- name: Build
run: |
ls -a
mkdir -p etc/iqfiles/
mv rockchip-iqfiles/* etc/iqfiles/
mv etc rockchip-iqfiles/
ls -a
echo "testing"
ls -a rockchip-iqfiles/
sudo gem install fpm
fpm -a arm64 -s dir -t deb -n rockchip-iq-openhd-r3 -v 0.2 -C rockchip-iqfiles -p rockchip-iq-openhd-r3_VERSION_ARCH.deb
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}
path: |
*.deb
- name: Push
id: push
uses: cloudsmith-io/action@master
with:
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
command: "push"
format: "deb"
owner: "openhd"
repo: "release"
distro: "debian"
release: "bullseye"
republish: "true" # needed ONLY if version is not changing
file: "*.deb"