We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1518121 commit a5b3c06Copy full SHA for a5b3c06
.github/workflows/release.yml
@@ -3,6 +3,7 @@ name: Release Go Binary
3
on:
4
release:
5
types: [created]
6
+ workflow_dispatch:
7
8
permissions:
9
contents: write
@@ -28,13 +29,13 @@ jobs:
28
29
- name: Set Up Go
30
uses: actions/setup-go@v4
31
with:
- go-version: "1.23"
32
+ go-version: "1.20" # Specify Go version
33
34
- name: Build Go Binary
35
run: |
- GOOS=darwin GOARCH=amd64 go build -o file-encryptor-darwin-amd64 ./cmd/file-encryptor
36
-
37
- - name: Upload Binaries
+ GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o file-encryptor-${{ matrix.goos }}-${{ matrix.goarch }} ./cmd/file-encryptor
+
38
+ - name: Upload Release Assets
39
uses: softprops/action-gh-release@v1
40
41
files: |
0 commit comments