Skip to content

Commit

Permalink
fix: homebrew deployments (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
domenicsim1 committed Sep 14, 2023
1 parent 34c7a68 commit 4d3845a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/go-releaser.yml
Expand Up @@ -21,21 +21,21 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Fetch all tags
run: git fetch --force --tags

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- uses: crazy-max/ghaction-import-gpg@v5
id: import_gpg
with:
gpg_private_key: ${{ secrets.OCTOPUS_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.OCTOPUS_GPG_PASSPHRASE }}

- name: Write GPG private key to shared memory for use when signing rpm/deb packages
id: private_key_shm
run: |
Expand All @@ -57,7 +57,7 @@ jobs:
GPG_PASSWORD: ${{ secrets.OCTOPUS_GPG_PASSPHRASE }}
GPG_PRIVATE_KEY_FILE: ${{ steps.private_key_shm.outputs.private_key_file_path }}
NFPM_DEFAULT_PASSPHRASE: ${{ secrets.OCTOPUS_GPG_PASSPHRASE }}

- name: Remove GPG private key from shared memory
if: ${{ success() || failure() }}
run: rm -f "${{ steps.private_key_shm.outputs.private_key_file_path }}"
Expand All @@ -79,7 +79,7 @@ jobs:
dist/*.tar.gz
dist/*.rpm
dist/*.deb
dist/*.rb
dist/**/*.rb
msi:
needs: goreleaser
Expand Down Expand Up @@ -189,14 +189,14 @@ jobs:
runs-on: ubuntu-latest
env:
OCTOPUS_API_KEY: ${{ secrets.OCTOPUS_API_KEY }}
OCTOPUS_URL: ${{ secrets.OCTOPUS_URL }}
OCTOPUS_URL: ${{ secrets.OCTOPUS_URL }}
OCTOPUS_SPACE: Integrations

steps:
- uses: actions/checkout@v3
- uses: nuget/setup-nuget@v1

- name: checkout OctopusDeploy/linux-package-feeds so we can take the package publish scripts from it
- name: checkout OctopusDeploy/linux-package-feeds so we can take the package publish scripts from it
uses: actions/checkout@v3
with:
repository: OctopusDeploy/linux-package-feeds
Expand Down Expand Up @@ -231,7 +231,7 @@ jobs:
- uses: OctopusDeploy/push-package-action@v3
with:
packages: ${{ steps.package.outputs.package_file_path }}

- name: Fetch Release Notes
id: fetch-release-notes
env:
Expand Down

0 comments on commit 4d3845a

Please sign in to comment.