andreacomo / maven-gav-extractor Goto Github PK
View Code? Open in Web Editor NEWGithub Action for extracting groupId, artifactId and version (GAV) from pom.xml
License: MIT License
Github Action for extracting groupId, artifactId and version (GAV) from pom.xml
License: MIT License
Hi,
using the action maven-gav-extractor
I get the warning below. Are you planning to fix this in a new release?
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Regards,
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Sample:
Run andreacomo/maven-gav-extractor@v2
with:
pom-location: /home/runner/work/sonar-cxx/sonar-cxx/pom.xml
env:
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.16-1/x64
JAVA_HOME_11_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.16-1/x64
Run VALUE=$(mvn -f /home/runner/work/sonar-cxx/sonar-cxx/pom.xml $EVALUATE -Dexpression=project.groupId -q -DforceStdout)
VALUE=$(mvn -f /home/runner/work/sonar-cxx/sonar-cxx/pom.xml $EVALUATE -Dexpression=project.groupId -q -DforceStdout)
echo "::set-output name=group-id::$VALUE"
VALUE=$(mvn -f /home/runner/work/sonar-cxx/sonar-cxx/pom.xml $EVALUATE -Dexpression=project.artifactId -q -DforceStdout)
echo "::set-output name=artifact-id::$VALUE"
VALUE=$(mvn -f /home/runner/work/sonar-cxx/sonar-cxx/pom.xml $EVALUATE -Dexpression=project.version -q -DforceStdout)
echo "::set-output name=version::$VALUE"
VALUE=$(mvn -f /home/runner/work/sonar-cxx/sonar-cxx/pom.xml $EVALUATE -Dexpression=project.name -q -DforceStdout)
echo "::set-output name=name::$VALUE"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
JAVA_HOME: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.16-1/x64
JAVA_HOME_11_X64: /opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/11.0.16-1/x64
EVALUATE: org.apache.maven.plugins:maven-help-plugin:3.2.0:evaluate
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Warning: The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.