use new paths from goreleaser (#1135)

* use new paths from goreleaser

* fix path from new goreleaser paths

* fix indent of .sh
This commit is contained in:
Casey Lee 2022-04-19 12:27:37 -07:00 committed by GitHub
parent 9a8a9aada2
commit 9021bc2fa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ trim_trailing_whitespace = true
indent_style = tab
indent_size = 4
[{Dockerfile,*.md,*_test.go,install.sh,act-cli.nuspec}]
[{Dockerfile,*.md,*_test.go,install.sh,.github/actions/choco/entrypoint.sh,act-cli.nuspec}]
indent_style = unset
indent_size = unset

View File

@ -24,7 +24,7 @@ rm -f act-cli.*.nupkg
mkdir -p tools
cp LICENSE tools/LICENSE.txt
cp VERIFICATION tools/VERIFICATION.txt
cp dist/act_windows_amd64/act.exe tools/
cp dist/act_windows_amd64_v1/act.exe tools/
choco pack act-cli.nuspec --version ${VERSION}
if [[ "$INPUT_PUSH" == "true" ]]; then
choco push act-cli.${VERSION}.nupkg --api-key ${INPUT_APIKEY} -s https://push.chocolatey.org/ --timeout 180

View File

@ -80,7 +80,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: act-linux-amd64
path: dist/act_linux_amd64/act
path: dist/act_linux_amd64_v1/act
- name: Capture i386 (32-bit) Linux binary
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v3
@ -110,7 +110,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: act-windows-amd64
path: dist/act_windows_amd64/act.exe
path: dist/act_windows_amd64_v1/act.exe
- name: Capture i386 (32-bit) Windows binary
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v3
@ -134,7 +134,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: act-macos-amd64
path: dist/act_darwin_amd64/act
path: dist/act_darwin_amd64_v1/act
- name: Capture arm64 (64-bit) MacOS binary
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v3