Actions for v1.2 werf version

- remove actions not used in v1.2
- update the example arbitrary version
- embed v1.2 MAJOR.MINOR
This commit is contained in:
Alexey Igrychev
2021-03-10 14:06:15 +00:00
parent f933394504
commit 2df7b68580
27 changed files with 64 additions and 134152 deletions

View File

@@ -1,12 +0,0 @@
import * as core from '@actions/core'
import {PrepareEnvironAndRunWerfCommand} from './common'
async function run(): Promise<void> {
try {
await PrepareEnvironAndRunWerfCommand(['build-and-publish'])
} catch (error) {
core.setFailed(error.message)
}
}
run()

View File

@@ -1,13 +0,0 @@
import * as core from '@actions/core'
import {PrepareEnvironAndRunWerfCommand} from './common'
async function run(): Promise<void> {
try {
process.env.WERF_ENV = core.getInput('env')
await PrepareEnvironAndRunWerfCommand(['deploy'])
} catch (error) {
core.setFailed(error.message)
}
}
run()

View File

@@ -1,12 +0,0 @@
import * as core from '@actions/core'
import {PrepareEnvironAndRunWerfCommand} from './common'
async function run(): Promise<void> {
try {
await PrepareEnvironAndRunWerfCommand(['publish'])
} catch (error) {
core.setFailed(error.message)
}
}
run()

View File

@@ -1,3 +1,3 @@
export const MAJOR_MINOR_GROUP = '1.1'
export const MAJOR_MINOR_GROUP = '1.2'
export const MAJOR = 1
export const MINOR = 1
export const MINOR = 2