This commit is contained in:
Sense T 2024-04-23 15:39:41 +08:00
parent 3df9501c80
commit 050b6c12cc
2 changed files with 2 additions and 15 deletions

View File

@ -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

View File

@ -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