Skip to content

Chocolatey Release

Chocolatey Release #4

on: workflow_dispatch
jobs:
publish-chocolatey:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
fetch-depth: 0
- name: Running integration tests
image: lacework/win-golang:1.18-20h2

Check failure on line 14 in .github/workflows/chocolatey-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/chocolatey-release.yml

Invalid workflow file

The workflow is not valid. .github/workflows/chocolatey-release.yml (Line: 14, Col: 9): Unexpected value 'image'
shell: pwsh
run: |
# install chocolatey
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'))
# publish chocolatey package
./scripts/chocolatey/package.ps1
exit $LastExitCode