File tree 4 files changed +33
-132
lines changed
4 files changed +33
-132
lines changed Original file line number Diff line number Diff line change
1
+ on : push
2
+ jobs :
3
+ build-and-deploy :
4
+ runs-on : ubuntu-latest
5
+ steps :
6
+ - uses : actions/checkout@v2
7
+ - name : Install dependencies
8
+ run : |
9
+ sudo apt-get install -y rpm
10
+ gem install fpm package_cloud
11
+ - name : Build
12
+ run : |
13
+ make deb
14
+ make rpm
15
+ - name : Deploy
16
+ if : ${{ github.ref == 'refs/heads/main' }}
17
+ run : |
18
+ PACKAGE_CLOUD_USER="cs50"
19
+
20
+ # Deploy deb to ubuntu repos
21
+ UBUNTU_REPOS=( xenial yakkety zesty artful bionic disco eoan focal groovy )
22
+ for repo in "${UBUNTU_REPOS[@]}"; do
23
+ package_cloud push "$PACKAGE_CLOUD_USER"/ubuntu/"$repo" build/deb/*.deb
24
+ done
25
+
26
+ # Deploy rpm to fedora repos
27
+ for repo in $(seq 29 32); do
28
+ package_cloud push "$PACKAGE_CLOUD_USER"/fedora/"$repo" build/rpm/*.rpm
29
+ done
30
+ env :
31
+ PACKAGECLOUD_TOKEN : ${{ secrets.PACKAGECLOUD_TOKEN }}
Original file line number Diff line number Diff line change 1
1
. *
2
+ ! .github
2
3
! .gitignore
3
4
! .travis.yml
4
5
build /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- VERSION := 10.1.2
1
+ VERSION := 10.1.3
2
2
MAJOR_VERSION := $(shell echo $(VERSION ) | cut -d'.' -f1)
3
3
4
4
# installation directory (/usr/local by default)
You can’t perform that action at this time.
0 commit comments