Skip to content

Commit 39a24bf

Browse files
Fix GitHub package publishing workflow. (#82)
1 parent 26594a2 commit 39a24bf

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/gradle-publish-base.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,17 @@ jobs:
104104
VERSION="$VERSION-SNAPSHOT"
105105
fi
106106
echo "::set-output name=final_version::$VERSION"
107-
- name: Determine artefact ID
108-
id: artefact_id
107+
- name: Determine artifact ID
108+
id: artifact_id
109109
run: |
110110
FILE_NAME="${{ matrix.jar_file }}"
111111
FILE_NAME_WITHOUT_EXTENSION="${FILE_NAME%.*}"
112-
echo "::set-output name=artefact_id::$FILE_NAME_WITHOUT_EXTENSION"
112+
echo "::set-output name=artifact_id::$FILE_NAME_WITHOUT_EXTENSION"
113113
- name: Check if Maven package already exists
114114
id: check_exists
115115
run: |
116116
VERSION="${{ steps.final_version.outputs.final_version }}"
117-
ARTEFACT_ID=${{ steps.artefact_id.outputs.artefact_id }}
117+
ARTIFACT_ID=${{ steps.artifact_id.outputs.artifact_id }}
118118
119119
METADATA_URL="https://maven.pkg.github.com/google/watchface/com.google.watchface/${ARTIFACT_ID}/${VERSION}/maven-metadata.xml"
120120
@@ -141,7 +141,7 @@ jobs:
141141
run: |
142142
mvn deploy:deploy-file \
143143
-DgroupId=com.google.watchface \
144-
-DartifactId=${{ steps.artefact_id.outputs.artefact_id }} \
144+
-DartifactId=${{ steps.artifact_id.outputs.artifact_id }} \
145145
-Dversion=${{ steps.final_version.outputs.final_version }} \
146146
-Dpackaging=jar \
147147
-Dfile=${{ matrix.jar_file }} \

play-validations/memory-footprint/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ configurations {
6363
jar {
6464
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
6565

66-
exclude("META-INF/*.RSA", "META-INF/*.DSA", "META-INF/*.SF")
66+
exclude("META-INF/*.RSA", "META-INF/*.DSA", "META-INF/*.SF", "META-INF/maven/**")
6767

6868
manifest {
6969
attributes "Main-Class": "com.google.wear.watchface.dfx.memory.ResourceMemoryEvaluator"

0 commit comments

Comments
 (0)