Fix thread calculation #107
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: Build & Release WPProbe | |
on: | |
push: | |
tags: | |
- "*" | |
permissions: | |
contents: write | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Android NDK (silent) | |
run: | | |
sudo apt-get update -qq | |
sudo apt-get install -y unzip > /dev/null | |
wget -q https://dl.google.com/android/repository/android-ndk-r25c-linux.zip -P /tmp | |
unzip -q /tmp/android-ndk-r25c-linux.zip -d /tmp | |
mv /tmp/android-ndk-r25c $HOME/android-ndk | |
echo "export ANDROID_NDK_HOME=$HOME/android-ndk" >> $GITHUB_ENV | |
echo "export PATH=$PATH:$HOME/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin" >> $GITHUB_ENV | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.23" | |
- name: GoReleaser | |
uses: goreleaser/goreleaser-action@v4 | |
with: | |
version: latest | |
args: release --clean | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |