Minify and mark as pre-release
Some checks failed
Test, Build, and Release / test (push) Successful in 1m46s
Test, Build, and Release / build (push) Failing after 1m50s

This commit is contained in:
James Eversole 2025-01-23 17:13:17 -06:00
parent 8995efce15
commit 5c8b557212
2 changed files with 9 additions and 6 deletions

View File

@ -68,10 +68,11 @@ jobs:
restore-keys: |
nix-
- name: Build binary
- name: Build and shrink binary
run: |
nix build
ls -alh ./result/bin/tricu
cp -L ./result/bin/tricu /tmp
upx /tmp/tricu
- name: Setup go for release actoin
uses: actions/setup-go@v5
@ -82,5 +83,6 @@ jobs:
uses: https://gitea.com/actions/release-action@main
with:
files: |-
./result/bin/tricu
/tmp/tricu
api_key: '${{ secrets.RELEASE_TOKEN }}'
pre_release: true

View File

@ -32,10 +32,11 @@
defaultPackage = self.packages.${system}.default;
devShells.default = pkgs.mkShell {
buildInputs = with pkgs.haskellPackages; [
cabal-install
ghcid
buildInputs = with pkgs; [
haskellPackages.cabal-install
haskellPackages.ghcid
customGHC
upx
];
inputsFrom = builtins.attrValues self.packages.${system};
};