Skip to content

Commit 4ea61e9

Browse files
committed
Fix downloading artifacts with actions/download-artifact@v4
1 parent 86e0f24 commit 4ea61e9

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/verible-ci.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ jobs:
473473
permissions:
474474
contents: write
475475

476-
if: ${{github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')}}
476+
#if: ${{github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')}}
477477

478478
steps:
479479

@@ -485,9 +485,15 @@ jobs:
485485
- name: 📥 Download artifacts
486486
uses: actions/download-artifact@v4
487487
with:
488+
name: [ verible-install-arm64, verible-install-x86_64, verible-install-win, verible-install-macos, src ]
488489
merge-multiple: true
489490

491+
- name: look at results
492+
run: |
493+
ls -l verible-install-arm64 verible-install-x86_64 verible-install-win verible-install-macos src
494+
490495
- name: Generate and apply TAG
496+
if: false # testing
491497
run: |
492498
git config --local user.name "$BOT_USER"
493499
git config --local user.email "$BOT_EMAIL"
@@ -498,18 +504,18 @@ jobs:
498504
git tag "$TAG" || true
499505
echo "TAG=$TAG" >> $GITHUB_ENV
500506
501-
ls -lah artifact
502-
503507
- name: Deploy release and assets
508+
if: false # testing
504509
uses: svenstaro/[email protected]
505510
with:
506511
repo_token: ${{ secrets.GITHUB_TOKEN }}
507-
file: artifact/verible*.{tar.gz,zip}
512+
file: */verible*.{tar.gz,zip}
508513
tag: ${{ env.TAG }}
509514
overwrite: true
510515
file_glob: true
511516

512517
- name: Publish VSCode extension
518+
if: false # testing
513519
env:
514520
VSC_MARKETPLACE_TOKEN: ${{ secrets.VSC_MARKETPLACE_TOKEN }}
515521
run: |

0 commit comments

Comments
 (0)