ci-test
This commit is contained in:
parent
3df9501c80
commit
050b6c12cc
13
.github/workflows/build_nix.yml
vendored
13
.github/workflows/build_nix.yml
vendored
@ -1,13 +0,0 @@
|
||||
name: "Build legacy Nix package on Ubuntu"
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v26
|
||||
- name: Building package
|
||||
run: nix-build . -A defaultPackage.x86_64-linux
|
4
.github/workflows/go.yml
vendored
4
.github/workflows/go.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
GOARCH: arm64
|
||||
run: |
|
||||
mkdir -p recored-ui-${GOOS}-${GOARCH}
|
||||
go build -trimpath -ldflags "-w -s" -v -o ./recored-ui-${GOOS}-${GOARCH} ./...
|
||||
go build -trimpath -ldflags "-w -s -X main.Version=${{ github.ref_name }}" -v -o ./recored-ui-${GOOS}-${GOARCH} ./...
|
||||
cp README.md LICENSE recored-ui-${GOOS}-${GOARCH}
|
||||
tar czvf recored-ui-${GOOS}-${GOARCH}.tgz recored-ui-${GOOS}-${GOARCH}
|
||||
|
||||
@ -51,7 +51,7 @@ jobs:
|
||||
id: create_release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
name: Release ${{ github.ref }}
|
||||
name: Release ${{ github.ref_name }}
|
||||
|
||||
|
||||
- name: Upload Release Asset Linux arm64
|
||||
|
Loading…
Reference in New Issue
Block a user