Add aarch64 again (#496)

This commit is contained in:
JEEVITHA KANNAN K S 2024-09-19 22:56:34 +05:30 committed by GitHub
parent 831f71bf43
commit fa5ff19078
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,9 +44,13 @@ jobs:
- name: Build x86_64 binary - name: Build x86_64 binary
run: cargo build --target-dir=build --release --verbose --target=x86_64-unknown-linux-musl run: cargo build --target-dir=build --release --verbose --target=x86_64-unknown-linux-musl
- name: Build aarch64 binary
run: cross build --target-dir=build --release --verbose --target=aarch64-unknown-linux-musl
- name: Move binaries to build directory - name: Move binaries to build directory
run: | run: |
mv build/x86_64-unknown-linux-musl/release/linutil build/linutil mv build/x86_64-unknown-linux-musl/release/linutil build/linutil
mv build/aarch64-unknown-linux-musl/release/linutil build/linutil-aarch64
- name: Pull latest changes - name: Pull latest changes
run: | run: |
@ -57,7 +61,7 @@ jobs:
- uses: stefanzweifel/git-auto-commit-action@v5 - uses: stefanzweifel/git-auto-commit-action@v5
with: with:
commit_message: Commit Linutil commit_message: Commit Linutil
file_pattern: "build/linutil" file_pattern: "build/linutil build/linutil-aarch64"
add_options: '--force' add_options: '--force'
if: success() if: success()
@ -87,9 +91,12 @@ jobs:
${{ steps.generate_notes.outputs.body }} ${{ steps.generate_notes.outputs.body }}
![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/linutil/${{ env.version }}/linutil) ![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/linutil/${{ env.version }}/linutil)
![GitHub Downloads (specific asset, specific tag)](https://img.shields.io/github/downloads/ChrisTitusTech/linutil/${{ env.version }}/linutil-aarch64)
append_body: false append_body: false
files: | files: |
./build/linutil ./build/linutil
./build/linutil-aarch64
./start.sh ./start.sh
./startdev.sh ./startdev.sh
prerelease: true prerelease: true