debug and list all files

This commit is contained in:
Mo Tarbin 2024-07-25 22:52:18 -04:00
parent 60d5b5f71b
commit 350290d0e5
1 changed files with 24 additions and 21 deletions

View File

@ -32,27 +32,30 @@ jobs:
run: | run: |
cd frontend-code cd frontend-code
npm run build npm run build
- name: Copy Frontend - name: List all folders
run: | run: |
rm -rf ./frontend/dist/* ls -R
cp -r frontend-code/dist/ ./frontend/dist # - name: Copy Frontend
- name: Set up Go # run: |
uses: actions/setup-go@v5 # rm -rf ./frontend/dist/*
with: # cp -r frontend-code/dist/ ./frontend/dist
go-version: 1.22 # - name: Set up Go
check-latest: true # uses: actions/setup-go@v5
cache: true # with:
# go-version: 1.22
# check-latest: true
# cache: true
- name: Run GoReleaser # - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6 # uses: goreleaser/goreleaser-action@v6
with: # with:
# either 'goreleaser' (default) or 'goreleaser-pro' # # either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser # distribution: goreleaser
# 'latest', 'nightly', or a semver # # 'latest', 'nightly', or a semver
version: latest # version: latest
args: release --clean --skip=validate # args: release --clean --skip=validate
env: # env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution # # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} # # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}