-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (52 loc) · 2.41 KB
/
packagecloud.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
45
46
47
48
49
50
51
52
53
54
55
56
57
name: packagecloud
on:
workflow_run:
workflows: ["goreleaser"]
types:
- completed
jobs:
packagecloud:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- run: cat VERSION
- run: echo "TAG=$(cat VERSION)" >> $GITHUB_ENV
- run: wget https://github.com/SaahilNotSahil/iitj-autoproxy/releases/download/${{ env.TAG }}/iitj-autoproxy_${{ env.TAG }}_linux_amd64.deb
- name: Upload package PackageCloud.io
uses: danielmundi/upload-packagecloud@v1
with:
packagecloud-token: ${{ secrets.PACKAGECLOUD_TOKEN }}
packagecloud-username: "SaahilNotSahil"
packagecloud-repo: "iitj-autoproxy"
package-name: iitj-autoproxy_${{ env.TAG }}_linux_amd64.deb
packagecloud-distrib: any/any
- run: wget https://github.com/SaahilNotSahil/iitj-autoproxy/releases/download/${{ env.TAG }}/iitj-autoproxy_${{ env.TAG }}_linux_arm64.deb
- name: Upload package PackageCloud.io
uses: danielmundi/upload-packagecloud@v1
with:
packagecloud-token: ${{ secrets.PACKAGECLOUD_TOKEN }}
packagecloud-username: "SaahilNotSahil"
packagecloud-repo: "iitj-autoproxy"
package-name: iitj-autoproxy_${{ env.TAG }}_linux_arm64.deb
packagecloud-distrib: any/any
- run: wget https://github.com/SaahilNotSahil/iitj-autoproxy/releases/download/${{ env.TAG }}/iitj-autoproxy_${{ env.TAG }}_linux_amd64.rpm
- name: Upload package PackageCloud.io
uses: danielmundi/upload-packagecloud@v1
with:
packagecloud-token: ${{ secrets.PACKAGECLOUD_TOKEN }}
packagecloud-username: "SaahilNotSahil"
packagecloud-repo: "iitj-autoproxy"
package-name: iitj-autoproxy_${{ env.TAG }}_linux_amd64.rpm
packagecloud-distrib: rpm_any/rpm_any
- run: wget https://github.com/SaahilNotSahil/iitj-autoproxy/releases/download/${{ env.TAG }}/iitj-autoproxy_${{ env.TAG }}_linux_arm64.rpm
- name: Upload package PackageCloud.io
uses: danielmundi/upload-packagecloud@v1
with:
packagecloud-token: ${{ secrets.PACKAGECLOUD_TOKEN }}
packagecloud-username: "SaahilNotSahil"
packagecloud-repo: "iitj-autoproxy"
package-name: iitj-autoproxy_${{ env.TAG }}_linux_arm64.rpm
packagecloud-distrib: rpm_any/rpm_any