-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jesse Schmidt
committed
Jul 17, 2024
1 parent
b70fb94
commit a77b9b3
Showing
3 changed files
with
61 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,9 +17,9 @@ on: | |
type: boolean | ||
|
||
|
||
# push: | ||
# branches: | ||
# - "actions-hub" # remove before merge into main | ||
push: | ||
branches: | ||
- "update-go" # remove before merge into main | ||
jobs: | ||
build-and-release: | ||
runs-on: macos-13 | ||
|
@@ -40,10 +40,13 @@ jobs: | |
/usr/local/bin/brew install [email protected] || echo "I1.5" | ||
for i in dpkg upx zip make wget jq rpm python3.11; do command -v $i || exit 1; done | ||
echo "Dependencies checked" | ||
- name: "Install golang" | ||
- name: Get go version from go.mod | ||
run: | | ||
wget https://go.dev/dl/go1.22.2.darwin-amd64.pkg | ||
sudo installer -store -pkg go1.22.2.darwin-amd64.pkg -target / | ||
echo "GO_VERSION=$(grep '^go ' go.mod | cut -d " " -f 2)" >> $GITHUB_ENV | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ env.GO_VERSION }} | ||
check-latest: true | ||
- name: "Install Packages.pkg for making macos PKG files" | ||
run: | | ||
wget http://s.sudre.free.fr/Software/files/Packages.dmg | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters