Skip to content

Commit

Permalink
chore: update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
damonto authored Nov 10, 2023
1 parent 8f13015 commit 000a5ab
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,16 @@ jobs:
uses: actions/checkout@v3

- name: Build
run: CGO_ENABLED=0 GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -trimpath -ldflags="-w -s" -o telegram-sms-${{ matrix.os }}_${{ matrix.arch }}
run: CGO_ENABLED=0 GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -trimpath -ldflags="-w -s" -o telegram-sms-${{ matrix.os }}-${{ matrix.arch }}

- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: telegram-sms-${{ matrix.os }}-${{ matrix.arch }}
path: telegram-sms-${{ matrix.os }}_${{ matrix.arch }}
path: telegram-sms-${{ matrix.os }}-${{ matrix.arch }}

- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
telegram-sms-${{ matrix.os }}-${{ matrix.arch }}

0 comments on commit 000a5ab

Please sign in to comment.