Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
93aa1ebd3b | |||
bf13344cbe | |||
62358e100c | |||
7ee1cd94dc |
64
.github/workflows/release.yaml
vendored
64
.github/workflows/release.yaml
vendored
@ -30,45 +30,45 @@ jobs:
|
||||
- name: Check
|
||||
run: nix flake check
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: check
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
# release:
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: check
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v4
|
||||
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
# - name: Install Nix
|
||||
# uses: cachix/install-nix-action@v31
|
||||
# with:
|
||||
# nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- name: Use Cachix
|
||||
uses: cachix/cachix-action@v16
|
||||
with:
|
||||
name: trevstack
|
||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||
# - name: Use Cachix
|
||||
# uses: cachix/cachix-action@v16
|
||||
# with:
|
||||
# name: trevstack
|
||||
# authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||
|
||||
- name: Build
|
||||
run: >
|
||||
nix build
|
||||
.#trevstack-linux-amd64
|
||||
.#trevstack-linux-arm64
|
||||
.#trevstack-linux-arm
|
||||
.#trevstack-windows-amd64
|
||||
.#trevstack-darwin-amd64
|
||||
.#trevstack-darwin-arm64
|
||||
# - name: Build
|
||||
# run: >
|
||||
# nix build
|
||||
# .#trevstack-linux-amd64
|
||||
# .#trevstack-linux-arm64
|
||||
# .#trevstack-linux-arm
|
||||
# .#trevstack-windows-amd64
|
||||
# .#trevstack-darwin-amd64
|
||||
# .#trevstack-darwin-arm64
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
generate_release_notes: true
|
||||
files: |-
|
||||
result*/bin/*
|
||||
# - name: Release
|
||||
# uses: softprops/action-gh-release@v2
|
||||
# with:
|
||||
# generate_release_notes: true
|
||||
# files: |-
|
||||
# result*/bin/*
|
||||
|
||||
# https://docs.docker.com/build/ci/github-actions/manage-tags-labels/
|
||||
package:
|
||||
runs-on: ubuntu-latest
|
||||
needs: release # Wait for binary cache to propagate
|
||||
needs: check # Wait for binary cache to propagate
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@ -86,7 +86,7 @@ jobs:
|
||||
|
||||
- name: Set env
|
||||
run: |
|
||||
TAG=${{ github.event.release.tag_name }}
|
||||
TAG=${{ github.ref_name }}
|
||||
VERSION=${TAG#v}
|
||||
|
||||
NAME="trevstack:${VERSION}"
|
||||
|
4
client/package-lock.json
generated
4
client/package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "trevstack",
|
||||
"version": "0.0.36",
|
||||
"version": "0.0.38",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "trevstack",
|
||||
"version": "0.0.36",
|
||||
"version": "0.0.38",
|
||||
"devDependencies": {
|
||||
"@bufbuild/protovalidate": "^0.1.1",
|
||||
"@connectrpc/connect": "^2.0.2",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "trevstack",
|
||||
"private": true,
|
||||
"version": "0.0.36",
|
||||
"version": "0.0.38",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite dev",
|
||||
|
@ -21,7 +21,7 @@
|
||||
...
|
||||
}: let
|
||||
pname = "trevstack";
|
||||
version = "0.0.36";
|
||||
version = "0.0.38";
|
||||
|
||||
build-systems = [
|
||||
"x86_64-linux"
|
||||
@ -130,7 +130,7 @@
|
||||
pname = "check-client";
|
||||
inherit version;
|
||||
src = ./client;
|
||||
npmDepsHash = "sha256-HC9h9sSh/1TkeTXN5yDkxz9OvwKdhRcNOEIzxvTVfrA=";
|
||||
npmDepsHash = "sha256-0JLUq40zkVKWPQ2olTNYB4Muv3W+r/iw7ulXEFr0IbM=";
|
||||
dontNpmInstall = true;
|
||||
|
||||
buildPhase = ''
|
||||
@ -193,7 +193,7 @@
|
||||
client = pkgs.buildNpmPackage {
|
||||
inherit pname version;
|
||||
src = ./client;
|
||||
npmDepsHash = "sha256-HC9h9sSh/1TkeTXN5yDkxz9OvwKdhRcNOEIzxvTVfrA=";
|
||||
npmDepsHash = "sha256-0JLUq40zkVKWPQ2olTNYB4Muv3W+r/iw7ulXEFr0IbM=";
|
||||
|
||||
installPhase = ''
|
||||
cp -r build "$out"
|
||||
|
@ -3,7 +3,7 @@ servers:
|
||||
- url: /grpc
|
||||
info:
|
||||
title: Trevstack API
|
||||
version: 0.0.36
|
||||
version: 0.0.38
|
||||
description: API for Trevstack
|
||||
contact:
|
||||
name: Trev
|
||||
|
Reference in New Issue
Block a user