Skip to content

Commit

Permalink
ci: fix binary path in nightly ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Mar 16, 2024
1 parent 0b5e562 commit 5fc1073
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/nightly_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ jobs:

- name: Checkout v-analyzer
uses: actions/checkout@v4
with:
submodules: true

- name: Compile
run: v run build.vsh debug
Expand All @@ -55,14 +57,14 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ${{ env.ARTIFACT }}
path: ./v-analyzer/bin/v-analyzer${{ matrix.bin_ext }}
path: ./bin/v-analyzer${{ matrix.bin_ext }}

- name: Prepare release
shell: bash
run: |
now=$(date -u +'%Y-%m-%d %H:%M:%S UTC')
echo "BODY=Generated on <samp>$now</samp> from commit ${{ github.sha }}." >> $GITHUB_ENV
7z a -tzip ${{ env.ARTIFACT }}.zip ./v-analyzer/bin/v-analyzer${{ matrix.bin_ext }}
7z a -tzip ${{ env.ARTIFACT }}.zip ./bin/v-analyzer${{ matrix.bin_ext }}
- name: Update nightly tag
uses: richardsimko/update-tag@v1
Expand Down

0 comments on commit 5fc1073

Please sign in to comment.