From c7b9e7ee84ed1fa0488a4a442d32866cf05f2c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigvald=20H=C3=B8yheim?= Date: Tue, 22 Oct 2024 09:04:30 +0200 Subject: [PATCH] =?UTF-8?q?bytt=20til=20=C3=A5=20bruke=20test=20milj=C3=B8?= =?UTF-8?q?et,=20og=20legg=20til=20autobygg=20av=20apk=20ved=20ny=20tag?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/android.yml | 26 +++++++++++++++++++ .vscode/settings.json | 3 +++ .../corelogic/config/ConfigWalletCoreImpl.kt | 4 +-- 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/android.yml create mode 100644 .vscode/settings.json diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml new file mode 100644 index 00000000..b0df0bd0 --- /dev/null +++ b/.github/workflows/android.yml @@ -0,0 +1,26 @@ +name: Build & Publish Release APK + +on: + push: + tags: + - '*' + +jobs: + Gradle: + runs-on: ubuntu-latest + steps: + - name: checkout code + uses: actions/checkout@v2 + - name: setup jdk + uses: actions/setup-java@v1 + with: + java-version: 17 + - name: Make Gradle executable + run: chmod +x ./gradlew + - name: Build Release APK + run: ./gradlew assembleDemo + - name: Releasing using Hub + uses: kyze8439690/action-release-releaseapk@master + env: + GITHUB_TOKEN: ${{ secrets.TOKEN }} + APP_FOLDER: app \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..e0f15db2 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.configuration.updateBuildConfiguration": "automatic" +} \ No newline at end of file diff --git a/core-logic/src/demo/java/eu/europa/ec/corelogic/config/ConfigWalletCoreImpl.kt b/core-logic/src/demo/java/eu/europa/ec/corelogic/config/ConfigWalletCoreImpl.kt index b60def33..c39b6b38 100644 --- a/core-logic/src/demo/java/eu/europa/ec/corelogic/config/ConfigWalletCoreImpl.kt +++ b/core-logic/src/demo/java/eu/europa/ec/corelogic/config/ConfigWalletCoreImpl.kt @@ -50,8 +50,8 @@ internal class WalletCoreConfigImpl( const val VCI_CLIENT_ID = "abr.vc.local" const val AUTHENTICATION_REQUIRED = false */ - const val VCI_ISSUER_URL = "https://demo-vc-issuer.idporten.dev" - const val VCI_CLIENT_ID = "demo-vc-issuer.idporten.dev" + const val VCI_ISSUER_URL = "https://demo-vc-issuer.test.idporten.no" + const val VCI_CLIENT_ID = "demo-vc-issuer.test.idporten.no" const val AUTHENTICATION_REQUIRED = false }