Skip to content

Commit

Permalink
Updating actions/upload-artifact@v3 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
kwhat committed Apr 19, 2024
1 parent 117cef0 commit df1f3e5
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
LDFLAGS: '-Wl,-dead_strip_dylibs'
shell: bash
run: |
echo "Job name is $GITHUB_JOB"\
echo "How about ${{ github.jobs[github.job].name }}" \
cmake -B ${{github.workspace}}/build \
-G "Unix Makefiles" \
-D CMAKE_INSTALL_PREFIX=${{github.workspace}}/dist/darwin/arm64 \
Expand All @@ -36,9 +38,9 @@ jobs:
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nightly-build
name: ${{ github.jobs[github.job].name }}-nightly
path: ${{github.workspace}}/dist/**/*

apple-x86_64:
Expand Down Expand Up @@ -72,9 +74,9 @@ jobs:
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nightly-build
name: ${{ github.jobs[github.job].name }}-nightly
path: ${{github.workspace}}/dist/**/*


Expand Down Expand Up @@ -145,9 +147,9 @@ jobs:
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nightly-build
name: ${{ github.jobs[github.job].name }}-nightly
path: ${{github.workspace}}/dist/**/*

linux-arm64:
Expand Down Expand Up @@ -217,9 +219,9 @@ jobs:
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nightly-build
name: ${{ github.jobs[github.job].name }}-nightly
path: ${{github.workspace}}/dist/**/*

linux-x86:
Expand Down Expand Up @@ -283,9 +285,9 @@ jobs:
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nightly-build
name: ${{ github.jobs[github.job].name }}-nightly
path: ${{github.workspace}}/dist/**/*

linux-x86_64:
Expand Down Expand Up @@ -333,9 +335,9 @@ jobs:
cmake --install ${{github.workspace}}/build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nightly-build
name: ${{ github.jobs[github.job].name }}-nightly
path: ${{github.workspace}}/dist/**/*


Expand Down Expand Up @@ -370,9 +372,9 @@ jobs:
cmake --install ${{github.workspace}}\build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nightly-build
name: ${{ github.jobs[github.job].name }}-nightly
path: ${{github.workspace}}/dist/**/*

windows-x86:
Expand Down Expand Up @@ -406,9 +408,9 @@ jobs:
cmake --install ${{github.workspace}}\build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nightly-build
name: ${{ github.jobs[github.job].name }}-nightly
path: ${{github.workspace}}/dist/**/*

windows-x86_64:
Expand Down Expand Up @@ -442,7 +444,7 @@ jobs:
cmake --install ${{github.workspace}}\build --config RelWithDebInfo
- name: Upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nightly-build
name: ${{ github.jobs[github.job].name }}-nightly
path: ${{github.workspace}}/dist/**/*

0 comments on commit df1f3e5

Please sign in to comment.