Skip to content

Commit

Permalink
adding executables build for
Browse files Browse the repository at this point in the history
  • Loading branch information
olegfomenko committed Nov 23, 2023
1 parent 0c43197 commit 01e3ae5
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/packages-rc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build Rarimo Core executables
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+.rc-[0-9]+'

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Check branch name
if: !endsWith(github.ref, 'mainnet-beta')
run: exit -1
-
name: Set up Go
uses: actions/setup-go@v4
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34 changes: 34 additions & 0 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build Rarimo Core executables
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

permissions:
contents: write

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Check branch mane
if: !endsWith(github.ref, 'mainnet')
run: exit -1
-
name: Set up Go
uses: actions/setup-go@v4
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v[0-9]+.[0-9]+.[0-9]+.rc-[0-9]+'

jobs:
converge:
Expand Down

0 comments on commit 01e3ae5

Please sign in to comment.