diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2233d49..a1f7fe9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -82,15 +82,15 @@ jobs: uses: actions/attest-build-provenance@v3 id: maven-attest with: - subject-path: ~/.m2/repository/me/id/auth/idme-auth-sample/${{ env.RELEASE_VERSION }}/* + subject-path: ~/.m2/repository/me/id/auth/android-auth-sample-code/${{ env.RELEASE_VERSION }}/* - name: Save attestation bundle alongside Maven artifacts run: | ATTESTATION_BUNDLE_PATH="${{ steps.maven-attest.outputs.bundle-path }}" - MAVEN_DIR=~/.m2/repository/me/id/auth/idme-auth-sample/$RELEASE_VERSION + MAVEN_DIR=~/.m2/repository/me/id/auth/android-auth-sample-code/$RELEASE_VERSION if [[ -f "$ATTESTATION_BUNDLE_PATH" ]]; then - cp "$ATTESTATION_BUNDLE_PATH" "$MAVEN_DIR/idme-auth-sample-${RELEASE_VERSION}.intoto.jsonl" - echo "Saved attestation bundle as idme-auth-sample-${RELEASE_VERSION}.intoto.jsonl" + cp "$ATTESTATION_BUNDLE_PATH" "$MAVEN_DIR/android-auth-sample-code-${RELEASE_VERSION}.intoto.jsonl" + echo "Saved attestation bundle as android-auth-sample-code-${RELEASE_VERSION}.intoto.jsonl" fi # --- Publish Maven artifacts + attestation to GitHub Packages --- @@ -99,7 +99,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | GROUP_ID="me.id.auth" - ARTIFACT_ID="idme-auth-sample" + ARTIFACT_ID="android-auth-sample-code" VERSION="$RELEASE_VERSION" GROUP_PATH=$(echo "$GROUP_ID" | tr '.' '/') GITHUB_URL="https://maven.pkg.github.com/IDme/android-auth-sample-code" @@ -171,10 +171,10 @@ jobs: continue-on-error: true run: | echo "Maven artifacts in local repository:" - ls -la ~/.m2/repository/me/id/auth/idme-auth-sample/$RELEASE_VERSION/ + ls -la ~/.m2/repository/me/id/auth/android-auth-sample-code/$RELEASE_VERSION/ echo "" echo "Generated POM content:" - cat ~/.m2/repository/me/id/auth/idme-auth-sample/$RELEASE_VERSION/idme-auth-sample-$RELEASE_VERSION.pom + cat ~/.m2/repository/me/id/auth/android-auth-sample-code/$RELEASE_VERSION/android-auth-sample-code-$RELEASE_VERSION.pom - name: Create Git tag run: | @@ -206,9 +206,9 @@ jobs: echo "- **Draft:** ${{ inputs.draft }}" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY echo "### Maven Coordinates" >> $GITHUB_STEP_SUMMARY - echo "\`me.id.auth:idme-auth-sample:$RELEASE_VERSION\`" >> $GITHUB_STEP_SUMMARY + echo "\`me.id.auth:android-auth-sample-code:$RELEASE_VERSION\`" >> $GITHUB_STEP_SUMMARY echo "" >> $GITHUB_STEP_SUMMARY echo "### Verification" >> $GITHUB_STEP_SUMMARY echo "\`\`\`bash" >> $GITHUB_STEP_SUMMARY - echo "gh attestation verify idme-auth-sample-$RELEASE_VERSION.aar --repo IDme/android-auth-sample-code" >> $GITHUB_STEP_SUMMARY + echo "gh attestation verify android-auth-sample-code-$RELEASE_VERSION.aar --repo IDme/android-auth-sample-code" >> $GITHUB_STEP_SUMMARY echo "\`\`\`" >> $GITHUB_STEP_SUMMARY diff --git a/.github/workflows/secure-pipeline-ast.yml b/.github/workflows/secure-pipeline-ast.yml index ab158f0..a698535 100644 --- a/.github/workflows/secure-pipeline-ast.yml +++ b/.github/workflows/secure-pipeline-ast.yml @@ -14,5 +14,5 @@ on: jobs: execute: - uses: IDme/workflow-library/.github/workflows/secure-pipeline-ast.yml@master + uses: IDme/workflow-library/.github/workflows/secure-pipeline-ast.yml@7a259bb101fd4f20d7cd0137c1f99e8d60af0859 secrets: inherit diff --git a/sdk/build.gradle.kts b/sdk/build.gradle.kts index 482136a..3c79c8a 100644 --- a/sdk/build.gradle.kts +++ b/sdk/build.gradle.kts @@ -64,7 +64,7 @@ afterEvaluate { publications { register("release", MavenPublication::class) { groupId = "me.id.auth" - artifactId = "idme-auth-sample" + artifactId = "android-auth-sample-code" version = project.version.toString() from(components["release"])