6767 - name : Run GoReleaser
6868 uses : goreleaser/goreleaser-action@v6
6969 with :
70- args : release --clean
70+ args : release --clean --skip-publish
7171 env :
7272 GITHUB_TOKEN : ${{ secrets.CLI_RELEASE }}
7373 GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
@@ -80,38 +80,39 @@ jobs:
8080 path : dist
8181 retention-days : 1
8282
83- publish-apt :
84- name : Publish APT
85- runs-on : macOS-latest
86- needs : [goreleaser]
87- env :
88- # Needed to publish new packages to our S3-hosted APT repo
89- AWS_ACCESS_KEY_ID : ${{ secrets.OBJECT_STORAGE_ACCESS_KEY_ID }}
90- AWS_SECRET_ACCESS_KEY : ${{ secrets.OBJECT_STORAGE_SECRET_ACCESS_KEY }}
91- steps :
92- - name : Checkout
93- uses : actions/checkout@v5
83+ # publish-apt:
84+ # name: Publish APT
85+ # runs-on: macOS-latest
86+ # needs: [goreleaser]
87+ # if: github.event_name != 'workflow_dispatch'
88+ # env:
89+ # # Needed to publish new packages to our S3-hosted APT repo
90+ # AWS_ACCESS_KEY_ID: ${{ secrets.OBJECT_STORAGE_ACCESS_KEY_ID }}
91+ # AWS_SECRET_ACCESS_KEY: ${{ secrets.OBJECT_STORAGE_SECRET_ACCESS_KEY }}
92+ # steps:
93+ # - name: Checkout
94+ # uses: actions/checkout@v5
9495
95- # use the artifacts from the "goreleaser" job
96- - name : Download artifacts from workflow
97- uses : actions/download-artifact@v5
98- with :
99- name : goreleaser-dist-temp
100- path : dist
96+ # # use the artifacts from the "goreleaser" job
97+ # - name: Download artifacts from workflow
98+ # uses: actions/download-artifact@v5
99+ # with:
100+ # name: goreleaser-dist-temp
101+ # path: dist
101102
102- - name : Install Aptly
103- run : brew install aptly
103+ # - name: Install Aptly
104+ # run: brew install aptly
104105
105- - name : Import GPG key
106- uses : crazy-max/ghaction-import-gpg@v6
107- id : import_gpg
108- with :
109- gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
110- passphrase : ${{ secrets.GPG_PASSPHRASE }}
106+ # - name: Import GPG key
107+ # uses: crazy-max/ghaction-import-gpg@v6
108+ # id: import_gpg
109+ # with:
110+ # gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
111+ # passphrase: ${{ secrets.GPG_PASSPHRASE }}
111112
112- - name : Publish packages to APT repo
113- if : contains(github.ref_name, '-') == false
114- env :
115- GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
116- GPG_PRIVATE_KEY_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
117- run : ./scripts/publish-apt-packages.sh
113+ # - name: Publish packages to APT repo
114+ # if: contains(github.ref_name, '-') == false
115+ # env:
116+ # GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
117+ # GPG_PRIVATE_KEY_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
118+ # run: ./scripts/publish-apt-packages.sh
0 commit comments