Upgrade @actions/* dependencies (#123)

* Upgrade `@actions/*` dependencies

* bumps deps again

* add changeset
This commit is contained in:
Mateusz Burzyński
2022-11-08 10:26:23 +01:00
committed by GitHub
parent ca3c2e0bbf
commit b78f480998
7 changed files with 158 additions and 133 deletions
+3 -4
View File
@@ -1,5 +1,4 @@
import { exec } from "@actions/exec";
import { execWithOutput } from "./utils";
import { exec, getExecOutput } from "@actions/exec";
export const setupUser = async () => {
await exec("git", [
@@ -35,7 +34,7 @@ export const pushTags = async () => {
};
export const switchToMaybeExistingBranch = async (branch: string) => {
let { stderr } = await execWithOutput("git", ["checkout", branch], {
let { stderr } = await getExecOutput("git", ["checkout", branch], {
ignoreReturnCode: true,
});
let isCreatingBranch = !stderr
@@ -59,6 +58,6 @@ export const commitAll = async (message: string) => {
};
export const checkIfClean = async (): Promise<boolean> => {
const { stdout } = await execWithOutput("git", ["status", "--porcelain"]);
const { stdout } = await getExecOutput("git", ["status", "--porcelain"]);
return !stdout.length;
};