Skip to content

Commit

Permalink
Add github actions for releasing linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ainformatico committed May 27, 2024
1 parent 08260fb commit 857fb18
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Go

on: [push]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'

- name: Build
run: |
mkdir release/
GOOS=linux GOARCH=amd64 go build -v -o release/git-new-linux
- name: Upload Go test results
uses: actions/upload-artifact@v4
with:
name: git-new-linux
path: release/

0 comments on commit 857fb18

Please sign in to comment.