From 0d0f19aa9a030523248275d4d644aa65db494679 Mon Sep 17 00:00:00 2001 From: Paulo Meira <10246101+PMeira@users.noreply.github.com> Date: Wed, 30 Oct 2024 13:34:39 -0300 Subject: [PATCH] Increment version, update CI settings. --- +DSS_MATLAB/version.m | 2 +- .github/workflows/builds.yml | 33 ++++++++++++++++++++++----------- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/+DSS_MATLAB/version.m b/+DSS_MATLAB/version.m index 96c5e47..2028f09 100644 --- a/+DSS_MATLAB/version.m +++ b/+DSS_MATLAB/version.m @@ -1,3 +1,3 @@ function result = version - result = '0.14.3'; + result = '0.14.3-1'; end \ No newline at end of file diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 5e2826b..c5d08a8 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -7,7 +7,7 @@ on: env: DSS_CAPI_VERSION: '0.14.3' - DSS_MATLAB_VERSION: '0.14.3' + DSS_MATLAB_VERSION: '0.14.3-1' jobs: linux_x64: @@ -50,9 +50,9 @@ jobs: ls -l cd .. - name: 'Upload artifacts' - uses: "actions/upload-artifact@v2" + uses: "actions/upload-artifact@v4" with: - name: 'packages' + name: 'package-linux_x64' path: '${{ github.workspace }}/dss_matlab/release' win_x64: @@ -88,13 +88,13 @@ jobs: ls -l cd .. - name: 'Upload artifacts' - uses: "actions/upload-artifact@v3" + uses: "actions/upload-artifact@v4" with: - name: 'packages' + name: 'package-win_x64' path: '${{ github.workspace }}/dss_matlab/release' darwin_x64: - runs-on: 'macos-12' + runs-on: 'macos-13' env: TRAVIS_JOB_NAME: "darwin_x64" steps: @@ -127,13 +127,13 @@ jobs: ls -l cd .. - name: 'Upload artifacts' - uses: "actions/upload-artifact@v3" + uses: "actions/upload-artifact@v4" with: - name: 'packages' + name: 'package-darwin_x64' path: '${{ github.workspace }}/dss_matlab/release' darwin_arm64: - runs-on: 'macos-12' + runs-on: 'macos-13' env: TRAVIS_JOB_NAME: "darwin_arm64" steps: @@ -166,8 +166,19 @@ jobs: ls -l cd .. - name: 'Upload artifacts' - uses: "actions/upload-artifact@v3" + uses: "actions/upload-artifact@v4" with: - name: 'packages' + name: 'package-darwin_arm64' path: '${{ github.workspace }}/dss_matlab/release' + + merge: + runs-on: ubuntu-latest + needs: [linux_x64, win_x64, darwin_x64, darwin_arm64] + steps: + - name: Merge Artifacts + uses: actions/upload-artifact/merge@v4 + with: + name: 'dss_matlab-packages' + pattern: '*' + delete-merged: true