Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Babatunde50 committed Jun 9, 2024
1 parent 2551b3c commit 835b8aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ jobs:
with:
go-version: stable
- name: Install Chocolatey
run: |
Set-ExecutionPolicy Bypass -Scope Process -Force; `
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; `
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
shell: powershell
uses: crazy-max/ghaction-chocolatey@v3
- name: Set up environment variables
run: echo "CHOCOLATEY_API_KEY=${{ secrets.CHOCOLATEY_API_KEY }}" >> $GITHUB_ENV
shell: bash
Expand Down
3 changes: 2 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ chocolateys:
project_url: https://dev.gitversity.com
icon_url: "https://dev.gitversity.com/_next/image?url=%2Fimages%2Flogo.png&w=384&q=75"
copyright: Gitversity Inc, 2024
api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
# api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
api_key: e5c7ccea-b778-471d-a4e5-b0d2d4bbc328


checksum:
Expand Down

0 comments on commit 835b8aa

Please sign in to comment.