Compare commits

...

1 commit
main ... v1

Author SHA1 Message Date
divyansh42
dc9713a0c9 Add message if user is using v1 version
Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-03-23 16:49:49 +05:30
4 changed files with 8 additions and 5 deletions

View file

@ -65,7 +65,7 @@ jobs:
image: ${{ env.IMAGE_NAME }}
# To avoid hardcoding a particular version of the binary.
content: |
./spring-petclinic/target/spring-petclinic-*.BUILD-SNAPSHOT.jar
./spring-petclinic/target/spring-petclinic-*.jar
entrypoint: |
java
-jar

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View file

@ -12,8 +12,11 @@ export async function run(): Promise<void> {
throw new Error('buildah, and therefore this action, only works on Linux. Please use a Linux runner.');
}
// show message if user is using older version
core.info(`⚠️ redhat-actions/buildah-build@v2 is now available. https://github.com/redhat-actions/buildah-build/blob/main/CHANGELOG.md`);
// get buildah cli
const buildahPath = await io.which('buildah', true);
const buildahPath = await io.which("buildah", true);
const cli: BuildahCli = new BuildahCli(buildahPath);
const workspace = process.env['GITHUB_WORKSPACE'];