fix(reformat): reformat overwrites content #1780
Workflow file for this run
This file contains hidden or 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
| name: Linux Build Musl Static | |
| #on: [pull_request] | |
| on: | |
| pull_request: | |
| types: [closed] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| # Only trigger when a PR is committed or manually triggered. | |
| if: github.event.pull_request.merged || github.event_name == 'workflow_dispatch' | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
| - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe | |
| with: | |
| go-version: '^1.25' | |
| - run: go version | |
| - name: Get dependencies | |
| run: | | |
| go get -v -t -d ./... | |
| sudo apt-get update | |
| sudo apt-get install -y zip build-essential pkg-config libssl-dev gcc-aarch64-linux-gnu | |
| - name: Install Musl | |
| run: | | |
| wget https://musl.libc.org/releases/musl-1.2.5.tar.gz | |
| tar -xvzf musl-1.2.5.tar.gz | |
| cd musl-1.2.5 | |
| ./configure | |
| sudo make install | |
| cd .. | |
| - name: Use Node.js | |
| uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e | |
| with: | |
| node-version: 20 | |
| - name: npm install gui | |
| run: | | |
| cd gui/velociraptor/ | |
| npm install | |
| npm run build | |
| cd ../../ | |
| - name: Build Musl Binary | |
| run: | | |
| mkdir ./output/ | |
| export PATH=$PATH:~/go/bin/:/usr/local/musl/bin | |
| go run make.go -v UpdateDependentTools | |
| go run make.go -v LinuxMusl | |
| # go run make.go -v LinuxMuslDebug | |
| go run make.go -v Linux | |
| go run make.go -v LinuxArm64 | |
| - name: StoreBinaries | |
| uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 | |
| with: | |
| name: Binaries | |
| path: output |