3 Commits

Author SHA1 Message Date
43379f1b09 fix path in release step 2025-01-24 01:41:40 +00:00
dc9ac5ddc3 add name to download action 2025-01-24 01:31:27 +00:00
9764b9d827 upd workflow 2025-01-24 01:05:57 +00:00

View File

@@ -34,7 +34,7 @@ jobs:
- name: building addon - name: building addon
run: pdm run scons run: pdm run scons
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: packaged_addon name: packaged_addon
path: ./*.nvda-addon path: ./*.nvda-addon
@@ -44,15 +44,17 @@ jobs:
if: ${{ startsWith(github.ref, 'refs/tags/') }} if: ${{ startsWith(github.ref, 'refs/tags/') }}
needs: ["build"] needs: ["build"]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: download releases files - name: download releases files
uses: actions/download-artifact@v4.1.7 uses: actions/download-artifact@v4.1.7
with:
name: packaged_addon
- name: Display structure of downloaded files - name: Display structure of downloaded files
run: ls -R run: ls -R
- name: Release - name: Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@v1
with: with:
files: packaged_addon/*.nvda-addon files: ./*.nvda-addon
fail_on_unmatched_files: true fail_on_unmatched_files: true
prerelease: ${{ contains(github.ref, '-') }} prerelease: ${{ contains(github.ref, '-') }}