mirror of
https://github.com/schollz/croc.git
synced 2024-12-22 13:11:58 +03:00
Merge branch 'main' of github.com:schollz/croc
This commit is contained in:
commit
c7f0228786
33
.github/workflows/release.yml
vendored
33
.github/workflows/release.yml
vendored
@ -55,6 +55,22 @@ jobs:
|
|||||||
tar -czvf croc_${{ github.event.release.name }}_macOS-64bit.tar.gz croc
|
tar -czvf croc_${{ github.event.release.name }}_macOS-64bit.tar.gz croc
|
||||||
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags '-s -extldflags "-sectcreate __TEXT __info_plist Info.plist"' -o croc
|
CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build -ldflags '-s -extldflags "-sectcreate __TEXT __info_plist Info.plist"' -o croc
|
||||||
tar -czvf croc_${{ github.event.release.name }}_macOS-ARM64.tar.gz croc
|
tar -czvf croc_${{ github.event.release.name }}_macOS-ARM64.tar.gz croc
|
||||||
|
CGO_ENABLED=0 GOOS=dragonfly GOARCH=amd64 go build -ldflags '' -o croc
|
||||||
|
tar -czvf croc_${{ github.event.release.name }}_DragonFlyBSD-64bit.tar.gz croc
|
||||||
|
CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 go build -ldflags '' -o croc
|
||||||
|
tar -czvf croc_${{ github.event.release.name }}_FreeBSD-64bit.tar.gz croc
|
||||||
|
CGO_ENABLED=0 GOOS=freebsd GOARCH=arm64 go build -ldflags '' -o croc
|
||||||
|
tar -czvf croc_${{ github.event.release.name }}_FreeBSD-ARM64.tar.gz croc
|
||||||
|
CGO_ENABLED=0 GOOS=netbsd GOARCH=386 go build -ldflags '' -o croc
|
||||||
|
tar -czvf croc_${{ github.event.release.name }}_NetBSD-32bit.tar.gz croc
|
||||||
|
CGO_ENABLED=0 GOOS=netbsd GOARCH=amd64 go build -ldflags '' -o croc
|
||||||
|
tar -czvf croc_${{ github.event.release.name }}_NetBSD-64bit.tar.gz croc
|
||||||
|
CGO_ENABLED=0 GOOS=netbsd GOARCH=arm64 go build -ldflags '' -o croc
|
||||||
|
tar -czvf croc_${{ github.event.release.name }}_NetBSD-ARM64.tar.gz croc
|
||||||
|
CGO_ENABLED=0 GOOS=openbsd GOARCH=amd64 go build -ldflags '' -o croc
|
||||||
|
tar -czvf croc_${{ github.event.release.name }}_OpenBSD-64bit.tar.gz croc
|
||||||
|
CGO_ENABLED=0 GOOS=openbsd GOARCH=arm64 go build -ldflags '' -o croc
|
||||||
|
tar -czvf croc_${{ github.event.release.name }}_OpenBSD-ARM64.tar.gz croc
|
||||||
- name: Create checksums.txt
|
- name: Create checksums.txt
|
||||||
run: |
|
run: |
|
||||||
touch croc_${{ github.event.release.name }}_checksums.txt
|
touch croc_${{ github.event.release.name }}_checksums.txt
|
||||||
@ -71,6 +87,14 @@ jobs:
|
|||||||
sha256sum croc_${{ github.event.release.name }}_Linux-ARM64.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
sha256sum croc_${{ github.event.release.name }}_Linux-ARM64.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
||||||
sha256sum croc_${{ github.event.release.name }}_macOS-64bit.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
sha256sum croc_${{ github.event.release.name }}_macOS-64bit.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
||||||
sha256sum croc_${{ github.event.release.name }}_macOS-ARM64.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
sha256sum croc_${{ github.event.release.name }}_macOS-ARM64.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
||||||
|
sha256sum croc_${{ github.event.release.name }}_DragonFlyBSD-64bit.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
||||||
|
sha256sum croc_${{ github.event.release.name }}_FreeBSD-64bit.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
||||||
|
sha256sum croc_${{ github.event.release.name }}_FreeBSD-ARM64.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
||||||
|
sha256sum croc_${{ github.event.release.name }}_NetBSD-32bit.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
||||||
|
sha256sum croc_${{ github.event.release.name }}_NetBSD-64bit.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
||||||
|
sha256sum croc_${{ github.event.release.name }}_NetBSD-ARM64.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
||||||
|
sha256sum croc_${{ github.event.release.name }}_OpenBSD-64bit.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
||||||
|
sha256sum croc_${{ github.event.release.name }}_OpenBSD-ARM64.tar.gz >> croc_${{ github.event.release.name }}_checksums.txt
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
@ -89,4 +113,11 @@ jobs:
|
|||||||
croc_${{ github.event.release.name }}_Linux-ARM64.tar.gz
|
croc_${{ github.event.release.name }}_Linux-ARM64.tar.gz
|
||||||
croc_${{ github.event.release.name }}_macOS-64bit.tar.gz
|
croc_${{ github.event.release.name }}_macOS-64bit.tar.gz
|
||||||
croc_${{ github.event.release.name }}_macOS-ARM64.tar.gz
|
croc_${{ github.event.release.name }}_macOS-ARM64.tar.gz
|
||||||
|
croc_${{ github.event.release.name }}_DragonFlyBSD-64bit.tar.gz
|
||||||
|
croc_${{ github.event.release.name }}_FreeBSD-64bit.tar.gz
|
||||||
|
croc_${{ github.event.release.name }}_FreeBSD-ARM64.tar.gz
|
||||||
|
croc_${{ github.event.release.name }}_NetBSD-32bit.tar.gz
|
||||||
|
croc_${{ github.event.release.name }}_NetBSD-64bit.tar.gz
|
||||||
|
croc_${{ github.event.release.name }}_NetBSD-ARM64.tar.gz
|
||||||
|
croc_${{ github.event.release.name }}_OpenBSD-64bit.tar.gz
|
||||||
|
croc_${{ github.event.release.name }}_OpenBSD-ARM64.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user