Skip to content

Commit

Permalink
Try explicitly fetching tags; Readd Java for Android SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
OoLunar committed Mar 22, 2024
1 parent 6695494 commit 4ffc34b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/sodium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,12 @@ jobs:
uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: ${{ matrix.config.arch }}
- name: Set up JDK 17
if: contains(matrix.config.rid, 'android')
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Setup Android SDK
if: contains(matrix.config.rid, 'android')
uses: android-actions/setup-android@v3
Expand All @@ -128,6 +134,7 @@ jobs:
run: |
git clone https://github.com/jedisct1/libsodium.git libs/sodium
cd libs/sodium
git fetch --tags origin
echo "SODIUM_VERSION=$(git describe --tags $(git rev-list --tags --max-count=1))" >> $GITHUB_ENV
git checkout $SODIUM_VERSION
${{ matrix.config.command }}
Expand Down

0 comments on commit 4ffc34b

Please sign in to comment.