Skip to content

Commit a19af38

Browse files
committed
added m1 workflow release
1 parent 3263d2e commit a19af38

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed
+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This workflow will build a golang project
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
3+
4+
name: Go-mac-x64-release
5+
6+
on:
7+
push:
8+
tags:
9+
- "v*"
10+
11+
jobs:
12+
13+
build:
14+
name: "Automatic releasing"
15+
runs-on: macos-14
16+
steps:
17+
- uses: actions/checkout@v3
18+
- name: Set up Go
19+
uses: actions/setup-go@v4
20+
with:
21+
go-version: 1.22
22+
- name: Run build script
23+
run: ./make_install.sh
24+
shell: bash
25+
- name: Install dependencies
26+
run: go get .
27+
- uses: "marvinpinto/action-automatic-releases@latest"
28+
with:
29+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
30+
prerelease: false
31+
title: jr_arm64
32+
files: |
33+
build/jr

.github/workflows/go-mac-x64-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
with:
2929
repo_token: "${{ secrets.GITHUB_TOKEN }}"
3030
prerelease: false
31-
title: jr_darwin
31+
title: jr_amd64
3232
files: |
3333
build/jr

0 commit comments

Comments
 (0)