Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
helgoboss committed Sep 13, 2024
1 parent 527e0e9 commit b33b7e1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,33 +151,33 @@ jobs:
strip -u -r target/${{ matrix.target }}/${{ matrix.profile }}/${{ matrix.lib-file-name }}
# Upload plug-in (all)
- name: Upload plug-in to artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact }}
path: target/${{ matrix.target }}/${{ matrix.profile }}/${{ matrix.lib-file-name }}
# Upload extension (macOS and Windows only for now)
- name: Upload extension to artifact
if: matrix.extension-file-name != ''
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact }}
path: target/${{ matrix.target }}/${{ matrix.profile }}/${{ matrix.extension-file-name }}
# Upload debug symbols (all)
- name: Upload Windows debug symbols to artifact
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact }}
path: target/${{ matrix.target }}/${{ matrix.profile }}/helgobox.pdb
- name: Upload macOS debug symbols to artifact
if: matrix.os == 'macos-latest'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact }}
path: target/${{ matrix.target }}/${{ matrix.profile }}/deps/libhelgobox.dylib.dSYM/
- name: Upload Linux debug symbols to artifact
if: startsWith(matrix.os, 'ubuntu-')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact }}
path: target/${{ matrix.target }}/${{ matrix.profile }}/libhelgobox-debug.so
Expand All @@ -201,7 +201,7 @@ jobs:
draft: true
prerelease: ${{ contains(github.ref, 'pre') }}
- name: Download artifacts from build job
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
# Upload Windows x86_64 artifacts
- name: Upload windows-x86_64 release artifact 1
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit b33b7e1

Please sign in to comment.