diff --git a/.github/workflows/glpi-agentmonitor-ci.yml b/.github/workflows/glpi-agentmonitor-ci.yml index 77e7819..86c438b 100644 --- a/.github/workflows/glpi-agentmonitor-ci.yml +++ b/.github/workflows/glpi-agentmonitor-ci.yml @@ -15,8 +15,8 @@ jobs: arch: [ x64, x86 ] steps: - - uses: actions/checkout@v3 - - uses: ilammy/msvc-dev-cmd@v1.12.1 + - uses: actions/checkout@v4 + - uses: ilammy/msvc-dev-cmd@v1.13.0 with: arch: ${{ matrix.arch }} - name: Set version @@ -71,14 +71,14 @@ jobs: CODESIGN_COMMAND: ${{ secrets.CODESIGN_COMMAND }} CODESIGN_PRIVATE: ${{ secrets.CODESIGN_PRIVATE }} - name: Upload built artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: GLPI-AgentMonitor-Build-${{ matrix.arch }} path: | Release\*.exe - name: Upload build logs artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: success() || failure() with: name: GLPI-AgentMonitor-BuildLogs-${{ matrix.arch }} @@ -88,7 +88,7 @@ jobs: version.h - name: VirusTotal Scan submission if: startsWith(github.ref, 'refs/tags/') - uses: crazy-max/ghaction-virustotal@v3 + uses: crazy-max/ghaction-virustotal@v4 with: vt_api_key: ${{ secrets.VT_API_KEY }} files: | @@ -145,13 +145,10 @@ jobs: steps: - name: Download x64 Artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: GLPI-AgentMonitor-Build-x64 - - name: Download x86 Artifact - uses: actions/download-artifact@v3 - with: - name: GLPI-AgentMonitor-Build-x86 + name: GLPI-AgentMonitor-Build-* + merge-multiple: true - name: Get sha256 sums id: sha256 run: | @@ -163,7 +160,7 @@ jobs: echo "x86=$X86" >>$GITHUB_OUTPUT shell: bash - name: Publish release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: draft: ${{ contains(github.ref_name, 'test') }} prerelease: ${{ contains(github.ref_name, 'beta') }}