diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3b81f7e..a6e9808 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,12 +29,12 @@ jobs: run: | file="gradle.properties" # Check if the file exists - if [ ! -f "$file" ]; then - echo "$file does not exist." + if [ ! -f "gradle.properties" ]; then + echo "gradle.properties does not exist." exit 1 fi # Append -SNAPSHOT to the VERSION_NAME - sed -i '' -e '/VERSION_NAME/s/$/-SNAPSHOT/' "$file" + sed -i '' -e '/VERSION_NAME/s/$/-SNAPSHOT/' "gradle.properties" # Publish the plugin to the Sonatype snapshot repository - name: Publish Snapshot