Skip to content

Commit

Permalink
fix: build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sangjanai committed Jun 5, 2024
1 parent e59313e commit c113a65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
name: "amd64"
runs-on: "windows-amd"
cmake-flags: ""
run-e2e: false
run-e2e: true

steps:
- name: Clone
Expand Down Expand Up @@ -109,14 +109,14 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: cortex.onnx-${{ matrix.os }}-${{ matrix.name }}
path: ./cortex.onnx.tar.gz
path: ./cortex.onnx

- uses: actions/[email protected]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create-draft-release.outputs.upload_url }}
asset_path: ./cortex.onnx.tar.gz
asset_path: ./cortex.onnx
asset_name: cortex.onnx-${{ needs.create-draft-release.outputs.version }}-${{ matrix.os }}-${{ matrix.name }}.tar.gz
asset_content_type: application/gzip

0 comments on commit c113a65

Please sign in to comment.