-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e11c5d
commit 08a70ea
Showing
1 changed file
with
109 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,15 +45,41 @@ jobs: | |
uses: actions/upload-artifact@v3 | ||
with: | ||
name: deb-package | ||
path: dist/*.deb | ||
path: dist/*amd64.deb | ||
- name: Upload .deb artifact ARM | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: deb-package-arm | ||
path: dist/*arm64.deb | ||
- name: Upload .rpm artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: rpm-package | ||
path: dist/*x86_64.rpm | ||
- name: Upload .apk artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: apk-package | ||
path: dist/*.apk | ||
|
||
packagecloud: | ||
packagecloud_amd64: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- goreleaser | ||
strategy: | ||
matrix: | ||
distro: [debian/bullseye, debian/bookworm, ubuntu/noble, ubuntu/jammy] | ||
distro: | ||
- debian/bullseye | ||
- debian/bookworm | ||
- debian/trixie | ||
- ubuntu/noble | ||
- ubuntu/jammy | ||
- ubuntu/mantic | ||
- elementaryos/horus | ||
- elementaryos/jolnir | ||
- linuxmint/wilma | ||
- linuxmint/virginia | ||
- linuxmint/victoria | ||
steps: | ||
- name: Download .deb artifact | ||
uses: actions/download-artifact@v3 | ||
|
@@ -69,3 +95,83 @@ jobs: | |
packagecloud-distro: ${{ matrix.distro }} | ||
packagecloud-token: ${{ secrets.PACKAGECLOUD_TOKEN }} | ||
|
||
packagecloud_amd64-rpm: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- goreleaser | ||
strategy: | ||
matrix: | ||
distro: | ||
- fedora/38 | ||
- fedora/39 | ||
- fedora/40 | ||
- amazon/2023 | ||
- amazon/2 | ||
- el/9 | ||
- el/8 | ||
- scientific/7 | ||
- scientific/6 | ||
steps: | ||
- name: Download .rpm artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: rpm-package | ||
|
||
- name: Push package to packagecloud.io | ||
uses: computology/[email protected] | ||
with: | ||
package-name: ./*.deb | ||
packagecloud-username: jelloeater | ||
packagecloud-reponame: stampy | ||
packagecloud-distro: ${{ matrix.distro }} | ||
packagecloud-token: ${{ secrets.PACKAGECLOUD_TOKEN }} | ||
|
||
packagecloud_amd64-apk: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- goreleaser | ||
strategy: | ||
matrix: | ||
distro: | ||
- alpine/v3.20 | ||
- alpine/v3.19 | ||
- alpine/v3.18 | ||
steps: | ||
- name: Download .apk artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: apk-package | ||
|
||
- name: Push package to packagecloud.io | ||
uses: computology/[email protected] | ||
with: | ||
package-name: ./*.apk | ||
packagecloud-username: jelloeater | ||
packagecloud-reponame: stampy | ||
packagecloud-distro: ${{ matrix.distro }} | ||
packagecloud-token: ${{ secrets.PACKAGECLOUD_TOKEN }} | ||
|
||
packagecloud_arm: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- goreleaser | ||
strategy: | ||
matrix: | ||
distro: | ||
- raspbian/forky | ||
- raspbian/trixie | ||
- raspbian/bookworm | ||
steps: | ||
- name: Download .deb artifact ARM | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: deb-package-arm | ||
|
||
- name: Push package to packagecloud.io | ||
uses: computology/[email protected] | ||
with: | ||
package-name: ./*.deb | ||
packagecloud-username: jelloeater | ||
packagecloud-reponame: stampy | ||
packagecloud-distro: ${{ matrix.distro }} | ||
packagecloud-token: ${{ secrets.PACKAGECLOUD_TOKEN }} |