Skip to content

Commit

Permalink
Fix RequiresApi issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ianrumac committed Oct 8, 2024
1 parent 1c42c0f commit 56bdc1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/update-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ jobs:
rm -rf android/supercel/src/main/java/com/superwall/supercel/Cel.kt
mv rust/target/android/java/uniffi/cel/com/superwall/supercel/cel.kt android/supercel/src/main/java/com/superwall/supercel/CEL.kt
- name: Remove lines containing RequiresApi
run: |
sed -i '/RequiresApi/d' ./android/supercel/src/main/java/com/superwall/supercel/CEL.kt
- name: Update Version
run: sed -i 's/version = "[0-9.]*"/version = "${{ env.VERSION_NUMBER }}"/' android/supercel/build.gradle.kts

Expand Down

0 comments on commit 56bdc1f

Please sign in to comment.