Skip to content

Agent Mesh

fix(ci): install Android NDK and pin GoReleaser v2 in release workflow

Antonio Ojeadc1ca519e0a3
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 4460ca12..28b3285e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -29,6 +29,10 @@ jobs:
with:
distribution: 'temurin'
java-version: '17'
+ - name: Set up Android NDK
+ run: |
+ yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses
+ $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager "ndk;26.1.10909125"
- name: Set up Flutter
uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2
with:
@@ -42,7 +46,7 @@ jobs:
uses: goreleaser/goreleaser-action@f06c13b6b1a9625abc9e6e439d9c05a8f2190e94 # v7.2.3
with:
distribution: goreleaser
- version: latest
+ version: "~> v2"
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}