mirror of
https://github.com/werf/actions.git
synced 2026-02-06 11:26:24 +03:00
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:
@@ -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()
|
||||
@@ -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()
|
||||
@@ -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()
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user