Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
release:
types: [created]

jobs:

Expand All @@ -24,3 +26,14 @@ jobs:
- name: Build
run: ./build.sh

- name: Upload Release Assets
if: github.event_name == 'release'
uses: softprops/action-gh-release@v2
with:
files: |
bin/somcli-linux-amd64
bin/somcli-linux-arm64
bin/somcli-darwin-amd64
bin/somcli-darwin-arm64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading