diff --git a/.github/workflows/build_nix.yml b/.github/workflows/build_nix.yml deleted file mode 100644 index 9a4bc4c..0000000 --- a/.github/workflows/build_nix.yml +++ /dev/null @@ -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 diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b06eae5..d4f1473 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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