Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix binary path in nightly ci #36

Merged
merged 1 commit into from
Mar 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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