aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/go-release.yml48
1 files changed, 26 insertions, 22 deletions
diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml
index a0117a0..a63358d 100644
--- a/.github/workflows/go-release.yml
+++ b/.github/workflows/go-release.yml
@@ -32,30 +32,34 @@ jobs:
run: |
cd frontend-code
npm run build
+
+ - name: Copy Frontend
+ run: |
+ rm -rf ./frontend/dist/*
+ cp -r frontend-code/dist/ ./frontend/dist
- name: List all folders
run: |
ls -R
- # - name: Copy Frontend
- # run: |
- # rm -rf ./frontend/dist/*
- # cp -r frontend-code/dist/ ./frontend/dist
- # - name: Set up Go
- # uses: actions/setup-go@v5
- # with:
- # go-version: 1.22
- # check-latest: true
- # cache: true
+ - name: List all folders 2
+ run: |
+ ls -R ./frontend/dist
+ - name: Set up Go
+ uses: actions/setup-go@v5
+ with:
+ go-version: 1.22
+ check-latest: true
+ cache: true
- # - name: Run GoReleaser
- # uses: goreleaser/goreleaser-action@v6
- # with:
- # # either 'goreleaser' (default) or 'goreleaser-pro'
- # distribution: goreleaser
- # # 'latest', 'nightly', or a semver
- # version: latest
- # args: release --clean --skip=validate
- # env:
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- # # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
- # # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
+ - name: Run GoReleaser
+ uses: goreleaser/goreleaser-action@v6
+ with:
+ # either 'goreleaser' (default) or 'goreleaser-pro'
+ distribution: goreleaser
+ # 'latest', 'nightly', or a semver
+ version: latest
+ args: release --clean --skip=validate
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
+ # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
\ No newline at end of file