Skip to content

Create hello-server.go #2

Create hello-server.go

Create hello-server.go #2

name: artifact
on: [push]
env:
FILE_NAME: hello-server
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v1
- name: Build ${{ env.FILE_NAME }} for ubuntu-latest
run: go build ${{ env.FILE_NAME }}.go
- name: Upload artifact for linux
uses: actions/[email protected]
with:
name: linux
path: ./${{ env.FILE_NAME }}