From fa364cb3ce2395d678eea5841430c25354a3e135 Mon Sep 17 00:00:00 2001 From: dacrab Date: Fri, 27 Dec 2024 13:27:57 +0200 Subject: [PATCH] ci: improve file handling in release workflow --- .github/workflows/release.yml | 9 +++++++++ .goreleaser.yml | 6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 210977a..fccb6f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,15 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + lfs: true + submodules: recursive + + - name: Debug Files + run: | + pwd + ls -la + echo "Current directory contents:" + ls -R - name: Set up Go uses: actions/setup-go@v5 diff --git a/.goreleaser.yml b/.goreleaser.yml index a9eccea..a677341 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -42,11 +42,11 @@ archives: {{- if and (eq .Os "darwin") (eq .Arch "amd64") }}_intel{{ end }} {{- if and (eq .Os "darwin") (eq .Arch "arm64") }}_apple_silicon{{ end }} files: - - src: README.md + - src: ./README.md dst: . - - src: LICENSE + - src: ./LICENSE dst: . - - src: scripts/* + - src: ./scripts/* dst: scripts checksum: