Skip to content

Commit

Permalink
Workflow - release & upload
Browse files Browse the repository at this point in the history
  • Loading branch information
githubDante committed Oct 12, 2024
1 parent 7db7927 commit bc82346
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/go-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Go-Release

on:
push:
tags:
- "*"
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: 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: Release
uses: softprops/action-gh-release@v2
with:
files: |
build/go-solarmanV5-proxy/*

0 comments on commit bc82346

Please sign in to comment.