Skip to content

Commit

Permalink
added release
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Jun 9, 2023
1 parent 2c085a7 commit bf7bb5c
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,46 @@ on: release
#
name: Build Release
jobs:
#
# 64-bit
#$ GOOS=darwin GOARCH=amd64 go build -o bin/app-amd64-darwin app.go
#
## 32-bit
#$ GOOS=darwin GOARCH=386 go build -o bin/app-386-darwin app.go
release-macos-386:
name: release macos/32
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: compile and release
uses: Allan-Nava/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOARCH: "386"
GOOS: darwin
EXTRA_FILES: "LICENSE"
CMD_PATH: "main.go"
BUILD_ARGS: "-o scaffold-cli"
PROJECT_NAME: "scaffold-cli"
#
release-macos-amd64:
name: release macos/32
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: compile and release
uses: Allan-Nava/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOARCH: "386"
GOOS: amd64
EXTRA_FILES: "LICENSE"
CMD_PATH: "main.go"
BUILD_ARGS: "-o scaffold-cli"
PROJECT_NAME: "scaffold-cli"
#
release-linux-386:
name: release linux/386
permissions: write-all
Expand Down

0 comments on commit bf7bb5c

Please sign in to comment.