Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
ci: fix artifact name problem
Browse files Browse the repository at this point in the history
  • Loading branch information
futrime committed Mar 28, 2024
1 parent d56f79f commit 5b94a1f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: ${{ github.repository.name }}-host-${{ matrix.runtime }}-${{ github.sha }}
name: ${{ github.event.repository.name }}-host-${{ matrix.runtime }}-${{ github.sha }}
path: host/bin

build-viewer:
Expand All @@ -71,7 +71,7 @@ jobs:
- uses: actions/upload-artifact@v4
with:
name: ${{ github.repository.name }}-viewer-${{ github.sha }}
name: ${{ github.event.repository.name }}-viewer-${{ github.sha }}
path: viewer/build

build-pages:
Expand All @@ -89,7 +89,7 @@ jobs:

- uses: actions/download-artifact@v4
with:
name: ${{ github.repository.name }}-viewer-${{ github.sha }}
name: ${{ github.event.repository.name }}-viewer-${{ github.sha }}
path: site/viewer

- uses: actions/upload-pages-artifact@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ jobs:
cp -r host/bin/* release/
- run: |
zip -r ../${{ github.repository.name }}-host-${{ matrix.runtime }}.zip *
zip -r ../${{ github.event.repository.name }}-host-${{ matrix.runtime }}.zip *
working-directory: release
- uses: softprops/action-gh-release@v2
with:
files: |
${{ github.repository.name }}-host-${{ matrix.runtime }}.zip
${{ github.event.repository.name }}-host-${{ matrix.runtime }}.zip
build-viewer:
runs-on: ubuntu-latest
Expand All @@ -63,13 +63,13 @@ jobs:
cp -r viewer/build/* release/
- run: |
zip -r ../${{ github.repository.name }}-viewer.zip *
zip -r ../${{ github.event.repository.name }}-viewer.zip *
working-directory: release
- uses: softprops/action-gh-release@v2
with:
files: |
${{ github.repository.name }}-viewer.zip
${{ github.event.repository.name }}-viewer.zip
create-release-notes:
permissions:
Expand Down

0 comments on commit 5b94a1f

Please sign in to comment.