Minify and mark as pre-release
This commit is contained in:
		@ -68,10 +68,11 @@ jobs:
 | 
				
			|||||||
          restore-keys: |
 | 
					          restore-keys: |
 | 
				
			||||||
            nix-
 | 
					            nix-
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
      - name: Build binary
 | 
					      - name: Build and shrink binary
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          nix build
 | 
					          nix build
 | 
				
			||||||
          ls -alh ./result/bin/tricu
 | 
					          cp -L ./result/bin/tricu /tmp
 | 
				
			||||||
 | 
					          upx /tmp/tricu
 | 
				
			||||||
  
 | 
					  
 | 
				
			||||||
      - name: Setup go for release actoin
 | 
					      - name: Setup go for release actoin
 | 
				
			||||||
        uses: actions/setup-go@v5
 | 
					        uses: actions/setup-go@v5
 | 
				
			||||||
@ -82,5 +83,6 @@ jobs:
 | 
				
			|||||||
        uses: https://gitea.com/actions/release-action@main
 | 
					        uses: https://gitea.com/actions/release-action@main
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          files: |-
 | 
					          files: |-
 | 
				
			||||||
            ./result/bin/tricu
 | 
					            /tmp/tricu
 | 
				
			||||||
          api_key: '${{ secrets.RELEASE_TOKEN }}'
 | 
					          api_key: '${{ secrets.RELEASE_TOKEN }}'
 | 
				
			||||||
 | 
					          pre_release: true
 | 
				
			||||||
 | 
				
			|||||||
@ -32,10 +32,11 @@
 | 
				
			|||||||
        defaultPackage = self.packages.${system}.default;
 | 
					        defaultPackage = self.packages.${system}.default;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        devShells.default = pkgs.mkShell {
 | 
					        devShells.default = pkgs.mkShell {
 | 
				
			||||||
          buildInputs = with pkgs.haskellPackages; [
 | 
					          buildInputs = with pkgs; [
 | 
				
			||||||
            cabal-install
 | 
					            haskellPackages.cabal-install
 | 
				
			||||||
            ghcid
 | 
					            haskellPackages.ghcid
 | 
				
			||||||
            customGHC
 | 
					            customGHC
 | 
				
			||||||
 | 
					            upx
 | 
				
			||||||
          ];
 | 
					          ];
 | 
				
			||||||
          inputsFrom = builtins.attrValues self.packages.${system};
 | 
					          inputsFrom = builtins.attrValues self.packages.${system};
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user