go build not go run

This commit is contained in:
bloeys
2022-01-27 05:50:27 +04:00
parent 9a621d0669
commit 29832b9708

View File

@ -1,10 +1,10 @@
name: Run-nmage name: build-nmage
on: on:
create: create:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
Run-nmage-macos: build-nmage-macos:
runs-on: macos-10.15 runs-on: macos-10.15
steps: steps:
- name: Install golang 1.17 - name: Install golang 1.17
@ -19,4 +19,4 @@ jobs:
run: git clone https://github.com/bloeys/nmage run: git clone https://github.com/bloeys/nmage
- name: Run nmage - name: Run nmage
working-directory: nmage working-directory: nmage
run: go run . run: go build .