diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 855dee64..b88262ae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: config: [release] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: 'recursive' fetch-depth: '0' @@ -97,9 +97,9 @@ jobs: if exist support cp -r support %PACKAGE_NAME% if exist tests cp -r tests %PACKAGE_NAME% - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: - name: ${{ github.event.repository.name }}-${{ steps.short-sha.outputs.sha }}-${{ matrix.config }} + name: ${{ github.event.repository.name }}-${{ steps.short-sha.outputs.sha }}-${{ matrix.config }}-${{ matrix.os }} path: ${{ github.event.repository.name }} release: @@ -107,7 +107,7 @@ jobs: needs: package steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: 'recursive' fetch-depth: '0' @@ -132,7 +132,7 @@ jobs: - name: zip run: zip -r ${{ github.event.repository.name }}-package-for-max-${{ steps.get_version.outputs.version }}.zip ${{ github.event.repository.name }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: ${{ github.event.repository.name }}-${{ steps.get_version.outputs.version }}-zipped-release path: ${{ github.event.repository.name }}-package-for-max-${{ steps.get_version.outputs.version }}.zip