Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelloeater authored Sep 20, 2024
1 parent 5e11c5d commit 08a70ea
Showing 1 changed file with 109 additions and 3 deletions.
112 changes: 109 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit 08a70ea

Please sign in to comment.