Skip to content

Commit 37bd245

Browse files
committed
stop building on github actions
1 parent aa1cc59 commit 37bd245

2 files changed

Lines changed: 1 addition & 22 deletions

File tree

.github/workflows/android.yml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,6 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v2
15-
- name: Checkout submodules
16-
shell: bash
17-
run: |
18-
auth_header="$(git config --global url."https://github.com/".insteadOf "git@github.com:")"
19-
git submodule sync --recursive
20-
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
21-
- name: set up JDK 1.8
22-
uses: actions/setup-java@v1
23-
with:
24-
java-version: 1.8
25-
- name: Build with Gradle
26-
run: ./gradlew glideavif:build
2715
- name: Create Release
2816
id: create_release
2917
uses: actions/create-release@latest
@@ -33,13 +21,3 @@ jobs:
3321
tag_name: ${{ github.ref }}
3422
release_name: Release ${{ github.ref }}
3523
prerelease: true
36-
- name: Upload Release Asset
37-
id: upload-release-asset
38-
uses: actions/upload-release-asset@v1
39-
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41-
with:
42-
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
43-
asset_path: ./glideavif/build/outputs/aar/glideavif-release.aar
44-
asset_name: glideavif.aar
45-
asset_content_type: application/octet-stream

glideavif/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ def deployTo = new File(rootDir, "repository")
99
android {
1010
compileSdkVersion 29
1111
buildToolsVersion "29.0.3"
12+
ndkVersion "21.1.6352462"
1213

1314
defaultConfig {
1415
minSdkVersion 16

0 commit comments

Comments
 (0)