Skip to content

Commit

Permalink
Change compiled file to reduce size and make it easier to use
Browse files Browse the repository at this point in the history
  • Loading branch information
KobeArthurScofield authored Feb 13, 2025
1 parent e452e4e commit a22e9dc
Show file tree
Hide file tree
Showing 4 changed files with 80 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,26 @@ jobs:
. ./make.bash "$@" --no-banner
"$GOTOOLDIR/dist" banner
cd ..
- name: Copy binaries into bin
shell: bash
run: |
cd ./bin
DIRS=(windows_amd64 windows_386 linux_386)
for DIR in "${DIRS[@]}"
do
if [ -d "${DIR}" ]; then
echo "Found ${DIR} copying binaries"
rm go*
for BINARY in "${DIR}"
do
echo "mv ./${DIR}/${BINARY} ./"
mv ./${DIR}/${BINARY} ./
done
rm "${DIR}"
done
cd ..
ls -al ./bin
- name: Upload package to Artifacts
uses: actions/upload-artifact@v4
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/test-go1_22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,26 @@ jobs:
. ./make.bash "$@" --no-banner
"$GOTOOLDIR/dist" banner
cd ..
- name: Copy binaries into bin
shell: bash
run: |
cd ./bin
DIRS=(windows_amd64 windows_386 linux_386)
for DIR in "${DIRS[@]}"
do
if [ -d "${DIR}" ]; then
echo "Found ${DIR} copying binaries"
rm go*
for BINARY in "${DIR}"
do
echo "mv ./${DIR}/${BINARY} ./"
mv ./${DIR}/${BINARY} ./
done
rm "${DIR}"
done
cd ..
ls -al ./bin
- name: Upload package to Artifacts
uses: actions/upload-artifact@v4
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/test-go1_23.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,26 @@ jobs:
. ./make.bash "$@" --no-banner
"$GOTOOLDIR/dist" banner
cd ..
- name: Copy binaries into bin
shell: bash
run: |
cd ./bin
DIRS=(windows_amd64 windows_386 linux_386)
for DIR in "${DIRS[@]}"
do
if [ -d "${DIR}" ]; then
echo "Found ${DIR} copying binaries"
rm go*
for BINARY in "${DIR}"
do
echo "mv ./${DIR}/${BINARY} ./"
mv ./${DIR}/${BINARY} ./
done
rm "${DIR}"
done
cd ..
ls -al ./bin
- name: Upload package to Artifacts
uses: actions/upload-artifact@v4
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/test-go1_24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,26 @@ jobs:
. ./make.bash "$@" --no-banner
"$GOTOOLDIR/dist" banner
cd ..
- name: Copy binaries into bin
shell: bash
run: |
cd ./bin
DIRS=(windows_amd64 windows_386 linux_386)
for DIR in "${DIRS[@]}"
do
if [ -d "${DIR}" ]; then
echo "Found ${DIR} copying binaries"
rm go*
for BINARY in "${DIR}"
do
echo "mv ./${DIR}/${BINARY} ./"
mv ./${DIR}/${BINARY} ./
done
rm "${DIR}"
done
cd ..
ls -al ./bin
- name: Upload package to Artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit a22e9dc

Please sign in to comment.