Skip to content

Commit

Permalink
Update pull_request.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinji-IkariG authored May 6, 2024
1 parent 6827d0f commit 43f548f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: pull_request

on:
pull_request:
Expand Down Expand Up @@ -56,13 +56,21 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 1.18
- name: set package name
id: name
run: |
output_name=nebula-console-${{ matrix.os }}-${{ matrix.arch }}-nightly
if [ "${{ matrix.os }}" = "windows" ]; then
output_name+='.exe'
fi
echo "package_name=$output_name" >> $GITHUB_OUTPUT
- name: generate box/blob.go for data/basketballplayer.ngql
run: make gen
env:
GOOS: linux
GOARCH: amd64
- name: build
run: make
run: make name=${{ steps.name.outputs.package_name }}
env:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.arch }}

0 comments on commit 43f548f

Please sign in to comment.