Skip to content

Commit

Permalink
Update/Actions: checkin/out upgrade to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
TwinFan committed Feb 3, 2024
1 parent 8168e6a commit b7eaacd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/actions/upload-plugin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ runs:
mv "${{ inputs.pdbFileName }}" "deploy-${{ inputs.pluginName }}/${{ inputs.pluginName }}/${{ inputs.archFolder }}"
fi
- name: Upload plugin
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.pluginName }}
name: ${{ inputs.pluginName }}-${{ env.platform }}
path: deploy-${{ inputs.pluginName }}/* # this way the top folder in the artifacts is "MyPlugin"
if-no-files-found: error
16 changes: 11 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ jobs:
#####################################
# Linux with GCC
build-lin:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
env:
platform: lin
steps:
- name: Checkout Code
uses: actions/checkout@v3 # must checkout before we can use our own actions
uses: actions/checkout@v4 # must checkout before we can use our own actions
with:
submodules: 'recursive'
- name: Build
Expand All @@ -42,10 +44,12 @@ jobs:
#####################################
# MacOS with CMake/clang and sign/notarize in self-written script
build-mac:
runs-on: macos-latest
runs-on: macos-12
env:
platform: mac
steps:
- name: Checkout Code
uses: actions/checkout@v3 # must checkout before we can use our own actions
uses: actions/checkout@v4 # must checkout before we can use our own actions
with:
submodules: 'recursive'
- name: Build
Expand Down Expand Up @@ -86,9 +90,11 @@ jobs:
# Windows with MS Visual Studio
build-win:
runs-on: windows-2022
env:
platform: win
steps:
- name: Checkout Code
uses: actions/checkout@v3 # must checkout before we can use our own actions
uses: actions/checkout@v4 # must checkout before we can use our own actions
with:
submodules: 'recursive'
- name: Build
Expand Down

0 comments on commit b7eaacd

Please sign in to comment.