From 4760f6ff4206dd56a38a40c55378f75c370bbddb Mon Sep 17 00:00:00 2001 From: Jonathan Acetolyne Langlois Date: Wed, 3 Jan 2024 20:19:34 -0800 Subject: [PATCH] output dir contents --- .github/workflows/build.yml | 41 +++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c5e775..34f7146 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,8 @@ go test release_test.go if [ `echo $?` -ne 0 ]; then exit 1; fi ls bin/flowcat-darwin-arm64/ - echo "CACHE_KEY=${{ hashFiles('bin/flowcat-darwin-arm64/**') }}" >> $GITHUB_OUTPUT + echo "${{ hashFiles('bin/flowcat-darwin-arm64/flowcat') }}" + echo "CACHE_KEY=${{ hashFiles('bin/flowcat-darwin-arm64/flowcat') }}" >> $GITHUB_OUTPUT - name: upload-darwin-arm64-cache id: darwin-arm64-cache @@ -54,25 +55,25 @@ bin/flowcat-darwin-arm64/flowcat key: ${{ hashFiles('bin/flowcat-darwin-arm64/flowcat') }} - - name: upload-linux-386-cache - id: linux-386-cache - uses: actions/cache/save@v3 - with: - path: | - bin - bin/* - bin/flowcat-linux-386/flowcat - key: test + # - name: upload-linux-386-cache + # id: linux-386-cache + # uses: actions/cache/save@v3 + # with: + # path: | + # bin + # bin/* + # bin/flowcat-linux-386/flowcat + # key: test - - name: upload-linux-amd64-cache - id: linux-amd64-cache - uses: actions/cache/save@v3 - with: - path: | - bin - bin/* - bin/flowcat-linux-amd64/flowcat - key: test + # - name: upload-linux-amd64-cache + # id: linux-amd64-cache + # uses: actions/cache/save@v3 + # with: + # path: | + # bin + # bin/* + # bin/flowcat-linux-amd64/flowcat + # key: test release: @@ -95,7 +96,7 @@ #key: test - name: "Determine tag" - run: "echo \"RELEASE_TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV && ls bin/flowcat-linux-amd64/" + run: "echo \"RELEASE_TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV && echo \"${{ env.OUTPUT }}\"" - name: "Create release" uses: "actions/github-script@v6"