Skip to content

Commit

Permalink
Merge pull request #67 from kbdharun/main
Browse files Browse the repository at this point in the history
  • Loading branch information
pietrodicaprio authored Jun 10, 2023
2 parents 2e0cb50 + 3a1a166 commit 8d9ceaf
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.19

Expand All @@ -34,12 +34,12 @@ jobs:
- name: Compress
run: tar -czvf abrootv2.tar.gz abrootv2

- uses: "marvinpinto/action-automatic-releases@latest"
- uses: softprops/action-gh-release@v1
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "continuous"
token: "${{ secrets.GITHUB_TOKEN }}"
tag_name: "continuous"
prerelease: true
title: "Continuous Build"
name: "Continuous Build"
files: |
abrootv2.tar.gz
sonar:
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: goreleaser

on:
push:
tags:
- '*'

jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution
# GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}

0 comments on commit 8d9ceaf

Please sign in to comment.