Skip to content

Commit

Permalink
ci: ๐Ÿ”„ log run info for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-labs committed Jan 4, 2024
1 parent f33e92b commit 30541df
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
release:
types: [published]

concurrency:
group: publish-${{ github.ref }}
cancel-in-progress: true

defaults:
run:
shell: 'bash'
Expand All @@ -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:
Expand Down Expand Up @@ -60,17 +73,23 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: kurv-${{ matrix.platform.os_name }}
path: "kurv-*"
path: ${{ matrix.platform.archive }}


publish-gh-release:
name: ๐Ÿš€ ยป publish github release
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
Expand Down

0 comments on commit 30541df

Please sign in to comment.