Skip to content

Commit fd205f2

Browse files
committed
another try
1 parent e9a89eb commit fd205f2

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/plugin-release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,17 @@ jobs:
7676
return;
7777
}
7878
core.setOutput('upload_url', release.upload_url);
79+
- name: Find plugin zip
80+
id: find_zip
81+
run: |
82+
file=$(ls build/plugins/nf-python-*.zip | head -n1)
83+
echo "file=$file" >> $GITHUB_OUTPUT
7984
- name: Upload plugin zip to release
8085
uses: actions/upload-release-asset@v1
8186
env:
8287
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8388
with:
8489
upload_url: ${{ steps.get_release.outputs.upload_url }}
85-
asset_path: build/plugins/nf-python-*.zip
90+
asset_path: ${{ steps.find_zip.outputs.file }}
8691
asset_name: nf-python-plugin.zip
8792
asset_content_type: application/zip

0 commit comments

Comments
 (0)