-
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
Showing
1 changed file
with
8 additions
and
8 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 |
---|---|---|
|
@@ -39,11 +39,11 @@ jobs: | |
rm new_commits.txt | ||
- name: Set Up Go | ||
if: ${{ env.GITHUB_STATE == 'true' }} | ||
if: ${{ env.GITHUB_STATE.new_commits == 'true' }} | ||
uses: actions/setup-go@v2 | ||
|
||
- name: Configure Raknet | ||
if: ${{ env.GITHUB_STATE == 'true' }} | ||
if: ${{ env.GITHUB_STATE.new_commits == 'true' }} | ||
run: | | ||
mkdir configure_raknet_depends | ||
cd configure_raknet_depends | ||
|
@@ -52,11 +52,11 @@ jobs: | |
sudo sed -i "" "s/urrentProtocol byte = 11/urrentProtocol byte = 8/g" /Users/runner/go/pkg/mod/github.com/sandertv/[email protected]/conn.go | ||
- name: Configure Makefile | ||
if: ${{ env.GITHUB_STATE == 'true' }} | ||
if: ${{ env.GITHUB_STATE.new_commits == 'true' }} | ||
run: mv ci_cd_auto_build_depends/Makefile neomega_kernel/neomega/c_api | ||
|
||
- name: Install Dependencies | ||
if: ${{ env.GITHUB_STATE == 'true' }} | ||
if: ${{ env.GITHUB_STATE.new_commits == 'true' }} | ||
run: | | ||
brew install mingw-w64 | ||
brew install messense/macos-cross-toolchains/x86_64-unknown-linux-gnu | ||
|
@@ -65,14 +65,14 @@ jobs: | |
brew install make | ||
- name: Build Connect Library | ||
if: ${{ env.GITHUB_STATE == 'true' }} | ||
if: ${{ env.GITHUB_STATE.new_commits == 'true' }} | ||
run: | | ||
cd neomega_kernel/neomega/c_api | ||
make all | ||
rm -rf libs/*.h | ||
- name: Build Access Point | ||
if: ${{ env.GITHUB_STATE == 'true' }} | ||
if: ${{ env.GITHUB_STATE.new_commits == 'true' }} | ||
run: | | ||
cd neomega_kernel/neomega/entries/access_point_entry/cli | ||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o build/neomega_linux_access_point_amd64 | ||
|
@@ -82,7 +82,7 @@ jobs: | |
CGO_ENABLED=0 GOOS=android GOARCH=arm64 go build -o build/neomega_android_access_point_arm64 | ||
- name: Move Binary Files and Clean Up | ||
if: ${{ env.GITHUB_STATE == 'true' }} | ||
if: ${{ env.GITHUB_STATE.new_commits == 'true' }} | ||
run: | | ||
mv neomega_kernel/neomega/c_api/libs/* ./ | ||
mv neomega_kernel/neomega/entries/access_point_entry/cli/build/* ./ | ||
|
@@ -91,7 +91,7 @@ jobs: | |
rm -rf neomega_kernel | ||
- name: Submit Changes | ||
if: ${{ env.GITHUB_STATE == 'true' }} | ||
if: ${{ env.GITHUB_STATE.new_commits == 'true' }} | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
default_author: github_actions | ||
|