Skip to content

Commit

Permalink
Unset packagecloud deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
royroyee committed Dec 22, 2023
1 parent 507882c commit ae8193a
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 44 deletions.
86 changes: 43 additions & 43 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,46 +43,46 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}

- name: Upload AMD64 DEB artifacts
uses: actions/upload-artifact@v3
with:
name: alpacon_${{ github.ref_name }}_linux_amd64.deb
path: dist/alpacon_${{ github.ref_name }}_linux_amd64.deb

- name: Upload AMD64 RPM artifacts
uses: actions/upload-artifact@v3
with:
name: alpacon_${{ github.ref_name }}_linux_amd64.rpm
path: dist/alpacon_${{ github.ref_name }}_linux_amd64.rpm

packagecloud-deploy:
needs: goreleaser
runs-on: ubuntu-latest
steps:
- name: Download AMD64 DEB Artifacts
uses: actions/download-artifact@v3
with:
name: alpacon_${{ github.ref_name }}_linux_amd64.deb

- name: Download AMD64 RPM Artifacts
uses: actions/download-artifact@v3
with:
name: alpacon_${{ github.ref_name }}_linux_amd64.rpm

- name: Upload AMD64 DEB to PackageCloud
uses: danielmundi/upload-packagecloud@v1
with:
PACKAGE-NAME: alpacon_${{ github.ref_name }}_linux_amd64.deb
PACKAGECLOUD-USERNAME: alpacanetworks
PACKAGECLOUD-REPO: alpacon
PACKAGECLOUD-DISTRIB: any/any
PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}

- name: Upload AMD64 RPM to PackageCloud
uses: danielmundi/upload-packagecloud@v1
with:
PACKAGE-NAME: alpacon_${{ github.ref_name }}_linux_amd64.rpm
PACKAGECLOUD-USERNAME: alpacanetworks
PACKAGECLOUD-REPO: alpacon
PACKAGECLOUD-DISTRIB: any/any
PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
# - name: Upload AMD64 DEB artifacts
# uses: actions/upload-artifact@v3
# with:
# name: alpacon_${{ github.ref_name }}_linux_amd64.deb
# path: dist/alpacon_${{ github.ref_name }}_linux_amd64.deb
#
# - name: Upload AMD64 RPM artifacts
# uses: actions/upload-artifact@v3
# with:
# name: alpacon_${{ github.ref_name }}_linux_amd64.rpm
# path: dist/alpacon_${{ github.ref_name }}_linux_amd64.rpm
#
# packagecloud-deploy:
# needs: goreleaser
# runs-on: ubuntu-latest
# steps:
# - name: Download AMD64 DEB Artifacts
# uses: actions/download-artifact@v3
# with:
# name: alpacon_${{ github.ref_name }}_linux_amd64.deb
#
# - name: Download AMD64 RPM Artifacts
# uses: actions/download-artifact@v3
# with:
# name: alpacon_${{ github.ref_name }}_linux_amd64.rpm
#
# - name: Upload AMD64 DEB to PackageCloud
# uses: danielmundi/upload-packagecloud@v1
# with:
# PACKAGE-NAME: alpacon_${{ github.ref_name }}_linux_amd64.deb
# PACKAGECLOUD-USERNAME: alpacanetworks
# PACKAGECLOUD-REPO: alpacon
# PACKAGECLOUD-DISTRIB: any/any
# PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
#
# - name: Upload AMD64 RPM to PackageCloud
# uses: danielmundi/upload-packagecloud@v1
# with:
# PACKAGE-NAME: alpacon_${{ github.ref_name }}_linux_amd64.rpm
# PACKAGECLOUD-USERNAME: alpacanetworks
# PACKAGECLOUD-REPO: alpacon
# PACKAGECLOUD-DISTRIB: any/any
# PACKAGECLOUD-TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }}
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ checksum:
name_template: "{{ .ProjectName }}-{{ .Version }}-checksums.sha256"

archives:
- name_template: "{{ .ProjectName }}-{{ .Tag }}-{{ .Os }}-{{ .Arch }}"
- name_template: "{{ .ProjectName }}-{{ .Version }}-{{ .Os }}-{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
Expand Down

0 comments on commit ae8193a

Please sign in to comment.