Skip to content

Commit

Permalink
Update Build-Linux-x86.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
500Foods authored May 18, 2024
1 parent 84ac9e4 commit 7e19b14
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/Build-Linux-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
name: Build Linux 32-bit
runs-on: ubuntu-latest
container: i386/ubuntu:latest
continue-on-error: true

steps:
- name: Install git
Expand Down Expand Up @@ -41,13 +42,11 @@ jobs:
- name: Build agentc
working-directory: ./AgentC
run: gcc agentc.c -o agentc -lsqlite3 -lxxhash -ljansson -lwebsockets ${{ env.FSWATCH_LIB }} -lfswatch ${{ env.FSWATCH_INC }} -lcurl -lssl -lcrypto
continue-on-error: true

- name: Copy agentc to dist folder
run: |
mkdir -p ./dist
cp ./AgentC/agentc ./dist/agentc-linux-x86
continue-on-error: true
- name: Check for changes
id: changes
Expand All @@ -57,7 +56,6 @@ jobs:
else
echo "has_changes=true" >> $GITHUB_OUTPUT
fi
continue-on-error: true
- name: Commit and push changes
if: steps.changes.outputs.has_changes == 'true'
Expand All @@ -67,4 +65,4 @@ jobs:
git add ./dist/agentc-linux-x86
git commit -m "Add agentc-linux-x86 to dist folder"
git push "https://${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}.git" HEAD:main
continue-on-error: true

0 comments on commit 7e19b14

Please sign in to comment.