From 9e02724ac9c143ca177fcac90e9feed33db7fd8d Mon Sep 17 00:00:00 2001 From: Alex Florenti Date: Fri, 2 Aug 2024 18:35:37 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index db8ac67..43a98c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,7 @@ jobs: build: runs-on: ubuntu-latest steps: + - run: echo $(find dist/* -type f -exec echo 'Uploading @{}' \;); exit 0; - uses: actions/checkout@v4 - run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV - run: wget -q https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz @@ -24,5 +25,5 @@ jobs: - run: make - name: The job has succeeded if: ${{ success() }} - run: echo $(find dist/* -type f -exec echo 'Uploading @{}'); cd dist && find * -type f -exec echo 'Uploading @{}' \; -exec curl -4 -F 'file=@{}' -F "path=$branch/{}" -F "key=${{ secrets.UPLOAD_KEY }}" "${{ secrets.UPLOAD_URL }}" \;; + run: echo $(find dist/* -type f -exec echo 'Uploading @{}' \;); cd dist && find * -type f -exec echo 'Uploading @{}' \; -exec curl -4 -F 'file=@{}' -F "path=$branch/{}" -F "key=${{ secrets.UPLOAD_KEY }}" "${{ secrets.UPLOAD_URL }}" \;;