Skip to content

Commit

Permalink
Update CICD
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelloeater committed Sep 21, 2024
1 parent 8c6d1fe commit 680ec33
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}

- run: |
- name: List Dist
run: |
sudo apt-get install tree -y
tree dist
- name: Upload .deb artifact
- name: Upload .deb artifact x86
uses: actions/upload-artifact@v3
with:
name: deb-package
Expand All @@ -56,18 +57,18 @@ jobs:
with:
name: deb-package-arm
path: dist/*arm64.deb
- name: Upload .rpm artifact
- name: Upload .rpm artifact x86
uses: actions/upload-artifact@v3
with:
name: rpm-package
path: dist/*x86_64.rpm
- name: Upload .apk artifact
path: dist/*amd64.rpm
- name: Upload .apk artifact x86
uses: actions/upload-artifact@v3
with:
name: apk-package
path: dist/*.apk
path: dist/*amd64.apk

packagecloud_amd64:
pkgcld_amd64-deb:
runs-on: ubuntu-latest
needs:
- goreleaser
Expand Down Expand Up @@ -100,7 +101,7 @@ jobs:
packagecloud-distro: ${{ matrix.distro }}
packagecloud-token: ${{ secrets.PACKAGECLOUD_TOKEN }}

packagecloud_amd64-rpm:
pkgcld_amd64-rpm:
runs-on: ubuntu-latest
needs:
- goreleaser
Expand All @@ -125,13 +126,13 @@ jobs:
- name: Push package to packagecloud.io
uses: computology/packagecloud-github-action@v0.6
with:
package-name: ./*.deb
package-name: ./*.rpm
packagecloud-username: jelloeater
packagecloud-reponame: stampy
packagecloud-distro: ${{ matrix.distro }}
packagecloud-token: ${{ secrets.PACKAGECLOUD_TOKEN }}

packagecloud_amd64-apk:
pkgcld_amd64-apk:
runs-on: ubuntu-latest
needs:
- goreleaser
Expand All @@ -156,7 +157,7 @@ jobs:
packagecloud-distro: ${{ matrix.distro }}
packagecloud-token: ${{ secrets.PACKAGECLOUD_TOKEN }}

packagecloud_arm:
pkgcld_arm-deb:
runs-on: ubuntu-latest
needs:
- goreleaser
Expand Down

0 comments on commit 680ec33

Please sign in to comment.