Skip to content

Workflow - release & upload #6

Workflow - release & upload

Workflow - release & upload #6

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go-Build
on:
push:
branches: [ "main" ]
# pull_request:
# branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
- name: Build
# run: go build -v ./...
run: make all
- uses: actions/upload-artifact@v4
with:
name: 'go-solarmanV5-proxy'
path: build
retention-days: 5
- uses: actions/download-artifact@v4
with:
path: build
- name: List artifacts
run: ls -R build/
# - name: Test
# run: go test -v ./...