mirror of https://github.com/usual2970/certimate
				
				
				
			Merge branch 'usual2970:main' into main
						commit
						dcd646b465
					
				| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
name: Base Build
 | 
			
		||||
name: Release
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
| 
						 | 
				
			
			@ -22,13 +22,22 @@ jobs:
 | 
			
		|||
      - name: Set up Go
 | 
			
		||||
        uses: actions/setup-go@v5
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: ">=1.24.0"
 | 
			
		||||
          go-version-file: "go.mod"
 | 
			
		||||
 | 
			
		||||
      - name: Build WebUI
 | 
			
		||||
        run: npm --prefix=./ui ci && npm --prefix=./ui run build
 | 
			
		||||
        run: |
 | 
			
		||||
          npm --prefix=./ui ci
 | 
			
		||||
          npm --prefix=./ui run build
 | 
			
		||||
          npm cache clean --force
 | 
			
		||||
          rm -rf ./ui/node_modules
 | 
			
		||||
 | 
			
		||||
      - name: Check disk usage
 | 
			
		||||
        run: |
 | 
			
		||||
          df -h
 | 
			
		||||
          du -sh /opt/hostedtoolcache/go/*
 | 
			
		||||
 | 
			
		||||
      - name: Run GoReleaser
 | 
			
		||||
        uses: goreleaser/goreleaser-action@v3
 | 
			
		||||
        uses: goreleaser/goreleaser-action@v5
 | 
			
		||||
        with:
 | 
			
		||||
          distribution: goreleaser
 | 
			
		||||
          version: latest
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -36,7 +36,7 @@ release:
 | 
			
		|||
archives:
 | 
			
		||||
  - id: archive_noncgo
 | 
			
		||||
    builds: [build_noncgo]
 | 
			
		||||
    format: zip
 | 
			
		||||
    format: "zip"
 | 
			
		||||
    files:
 | 
			
		||||
      - CHANGELOG.md
 | 
			
		||||
      - LICENSE.md
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue