Skip to content

Commit

Permalink
Upgrade upload-artifact.
Browse files Browse the repository at this point in the history
  • Loading branch information
fubark committed Nov 24, 2024
1 parent 33fffeb commit e77634a
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/latest-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -296,17 +296,17 @@ jobs:
- name: Save artifact.
if: env.BUILD_CMD == 'cli' || env.BUILD_CMD == 'web-lib'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: bin
name: bin-${{ env.BUILD_HOST }}-${{ env.BUILD_TARGET }}-${{ env.BUILD_MODE }}-${{ env.BUILD_CMD }}
path: |
${{ env.BIN_ZIP }}
- name: Save artifact.
if: env.BUILD_CMD == 'lib'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: bin
name: bin-${{ env.BUILD_HOST }}-${{ env.BUILD_TARGET }}-${{ env.BUILD_MODE }}-${{ env.BUILD_CMD }}
path: |
libcyber-windows-gnu-x64.lib
libcyber-windows-msvc-x64.lib
Expand Down Expand Up @@ -401,9 +401,9 @@ jobs:
mv docs/docs.html docs.html
- name: Save artifact.
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: bin
name: bin-docs
path: |
docs.html
docs.md
Expand All @@ -413,9 +413,10 @@ jobs:
name: Release
runs-on: ubuntu-22.04
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: bin
pattern: bin-*
merge-multiple: true

# Manual dispatch.
- name: Github Latest Release.
Expand Down

0 comments on commit e77634a

Please sign in to comment.