mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-09 10:39:04 +00:00
Add message if user is using v1 version
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
d2594b7a96
commit
dc9713a0c9
4 changed files with 8 additions and 5 deletions
src
|
@ -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'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue