From 30541df8056ab9b4f126a96aebcc05a4a3c9295b Mon Sep 17 00:00:00 2001 From: Lucas Colombo Date: Thu, 4 Jan 2024 18:52:49 -0300 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=94=84=20log=20run=20info=20for=20d?= =?UTF-8?q?ebugging?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/publish.yml | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 383e76b..a8f9076 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,6 +4,10 @@ on: release: types: [published] +concurrency: + group: publish-${{ github.ref }} + cancel-in-progress: true + defaults: run: shell: 'bash' @@ -28,6 +32,15 @@ jobs: bin: kurv.exe archive: kurv-windows-x86_64.zip steps: + - name: ๐Ÿ“œ ยป log run info + run: | + echo "os: ${{ matrix.platform.os }}" + echo "os_name: ${{ matrix.platform.os_name }}" + echo "target: ${{ matrix.platform.target }}" + echo "bin: ${{ matrix.platform.bin }}" + echo "archive: ${{ matrix.platform.archive }}" + echo "run_id: ${{ github.run_id }}" + - name: ๐Ÿ“ ยป checkout repository uses: actions/checkout@v3 with: @@ -60,7 +73,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: kurv-${{ matrix.platform.os_name }} - path: "kurv-*" + path: ${{ matrix.platform.archive }} publish-gh-release: @@ -68,9 +81,15 @@ jobs: needs: build runs-on: ubuntu-latest steps: - # downloads the artifact from the build job + - name: ๐Ÿ“œ ยป log run info + run: | + echo "run_id: ${{ github.run_id }}" + - name: ๐Ÿ“ฅ ยป download artifacts uses: actions/download-artifact@v4 + with: + pattern: kurv-* + merge-multiple: true - name: ๐Ÿ“ ยป list files run: ls -l -a -R