diff --git a/check-r-package/action.yaml b/check-r-package/action.yaml index cb53e0916..95621a4c7 100644 --- a/check-r-package/action.yaml +++ b/check-r-package/action.yaml @@ -19,7 +19,7 @@ runs: steps: - name: "@v1 is deprecated" run: | - echo "::warning r-lib/action/check-r-packages@v1 is deprecated. Please update your workflow to use the '@v2' version. Also look at the examples at https://github.com/r-lib/actions/tree/v2/examples because '@v2' workflows are much simpler than '@v1' workflows." + echo "::warning r-lib/actions/check-r-package@v1 is deprecated. Please update your workflow to use the '@v2' version. Also look at the examples at https://github.com/r-lib/actions/tree/v2/examples because '@v2' workflows are much simpler than '@v1' workflows." shell: bash - name: Check diff --git a/pr-fetch/lib/main.js b/pr-fetch/lib/main.js index befc5a559..85841bbc5 100644 --- a/pr-fetch/lib/main.js +++ b/pr-fetch/lib/main.js @@ -22,7 +22,7 @@ const exec = __importStar(require("@actions/exec")); function run() { return __awaiter(this, void 0, void 0, function* () { try { - console.log("::warning r-lib/action/pr-fetch@v1 is deprecated. Please update your workflow to use the '@v2' version."); + console.log("::warning r-lib/actions/pr-fetch@v1 is deprecated. Please update your workflow to use the '@v2' version."); const token = core.getInput("repo-token", { required: true }); const client = new github.GitHub(token); const context = github.context; diff --git a/pr-fetch/src/main.ts b/pr-fetch/src/main.ts index cb2911437..941617df2 100644 --- a/pr-fetch/src/main.ts +++ b/pr-fetch/src/main.ts @@ -5,7 +5,7 @@ import * as exec from "@actions/exec"; async function run() { try { - console.log("::warning r-lib/action/pr-fetch@v1 is deprecated. Please update your workflow to use the '@v2' version."); + console.log("::warning r-lib/actions/pr-fetch@v1 is deprecated. Please update your workflow to use the '@v2' version."); const token: string = core.getInput("repo-token", { required: true }); diff --git a/pr-push/lib/main.js b/pr-push/lib/main.js index e139f496b..496a03d34 100644 --- a/pr-push/lib/main.js +++ b/pr-push/lib/main.js @@ -22,7 +22,7 @@ const exec = __importStar(require("@actions/exec")); function run() { return __awaiter(this, void 0, void 0, function* () { try { - console.log("::warning r-lib/action/pr-push@v1 is deprecated. Please update your workflow to use the '@v2' version."); + console.log("::warning r-lib/actions/pr-push@v1 is deprecated. Please update your workflow to use the '@v2' version."); const token = core.getInput("repo-token", { required: true }); const cli_args = core.getInput("args"); const client = new github.GitHub(token); diff --git a/pr-push/src/main.ts b/pr-push/src/main.ts index ff8313afd..272ff087a 100644 --- a/pr-push/src/main.ts +++ b/pr-push/src/main.ts @@ -4,7 +4,7 @@ import * as exec from "@actions/exec"; async function run() { try { - console.log("::warning r-lib/action/pr-push@v1 is deprecated. Please update your workflow to use the '@v2' version."); + console.log("::warning r-lib/actions/pr-push@v1 is deprecated. Please update your workflow to use the '@v2' version."); const token: string = core.getInput("repo-token", { required: true }); const cli_args: string = core.getInput("args"); diff --git a/run-rchk/entrypoint.sh b/run-rchk/entrypoint.sh index 5cd240089..99be1f0bb 100755 --- a/run-rchk/entrypoint.sh +++ b/run-rchk/entrypoint.sh @@ -2,7 +2,7 @@ set -eo pipefail -echo "::warning r-lib/action/run-rchk@v1 is deprecated. Please update your workflow to use the '@v2' version." +echo "::warning r-lib/actions/run-rchk@v1 is deprecated. Please update your workflow to use the '@v2' version." cd /home/docker/R-svn/ . /home/docker/rchk/scripts/cmpconfig.inc diff --git a/setup-pandoc/lib/setup-pandoc.js b/setup-pandoc/lib/setup-pandoc.js index 8ceff3758..555d74f77 100644 --- a/setup-pandoc/lib/setup-pandoc.js +++ b/setup-pandoc/lib/setup-pandoc.js @@ -44,7 +44,7 @@ if (!tempDirectory) { } function run() { return __awaiter(this, void 0, void 0, function* () { - console.log("::warning r-lib/action/setup-pandoc@v1 is deprecated. Please update your workflow to use the '@v2' version."); + console.log("::warning r-lib/actions/setup-pandoc@v1 is deprecated. Please update your workflow to use the '@v2' version."); try { let pandocVersion = core.getInput("pandoc-version"); core.debug(`got pandoc-version ${pandocVersion}`); diff --git a/setup-pandoc/src/setup-pandoc.ts b/setup-pandoc/src/setup-pandoc.ts index c76abecc9..39083f396 100644 --- a/setup-pandoc/src/setup-pandoc.ts +++ b/setup-pandoc/src/setup-pandoc.ts @@ -28,7 +28,7 @@ if (!tempDirectory) { } async function run() { - console.log("::warning r-lib/action/setup-pandoc@v1 is deprecated. Please update your workflow to use the '@v2' version."); + console.log("::warning r-lib/actions/setup-pandoc@v1 is deprecated. Please update your workflow to use the '@v2' version."); try { let pandocVersion = core.getInput("pandoc-version"); core.debug(`got pandoc-version ${pandocVersion}`); diff --git a/setup-r-dependencies/action.yaml b/setup-r-dependencies/action.yaml index 66bc0dcb5..e8cb18638 100644 --- a/setup-r-dependencies/action.yaml +++ b/setup-r-dependencies/action.yaml @@ -16,6 +16,11 @@ inputs: runs: using: "composite" steps: + - name: "@v1 is deprecated" + run: | + echo "::warning r-lib/actions/setup-r-dependencies@v1 is deprecated. Please update your workflow to use the '@v2' version. Also look at the examples at https://github.com/r-lib/actions/tree/v2/examples because '@v2' workflows are much simpler than '@v1' workflows." + shell: bash + - name: Install pak and query dependencies run: | cat("::group::Install pak\n") diff --git a/setup-r/lib/setup-r.js b/setup-r/lib/setup-r.js index 84052b33a..5bc52e884 100644 --- a/setup-r/lib/setup-r.js +++ b/setup-r/lib/setup-r.js @@ -35,7 +35,7 @@ function run() { return __awaiter(this, void 0, void 0, function* () { try { core.debug(`started action`); - console.log("::warning r-lib/action/check-r-packages@v1 is deprecated. Please update your workflow to use the '@v2' version. Also look at the examples at https://github.com/r-lib/actions/tree/v2/examples because '@v2' workflows are much simpler than '@v1' workflows."); + console.log("::warning r-lib/actions/setup-r@v1 is deprecated. Please update your workflow to use the '@v2' version. Also look at the examples at https://github.com/r-lib/actions/tree/v2/examples because '@v2' workflows are much simpler than '@v1' workflows."); let version = core.getInput("r-version"); core.debug(`got version ${version}`); yield installer_1.getR(version); diff --git a/setup-r/src/setup-r.ts b/setup-r/src/setup-r.ts index 515182e26..1a336a725 100644 --- a/setup-r/src/setup-r.ts +++ b/setup-r/src/setup-r.ts @@ -5,7 +5,7 @@ import * as path from "path"; async function run() { try { core.debug(`started action`); - console.log("::warning r-lib/action/check-r-packages@v1 is deprecated. Please update your workflow to use the '@v2' version. Also look at the examples at https://github.com/r-lib/actions/tree/v2/examples because '@v2' workflows are much simpler than '@v1' workflows."); + console.log("::warning r-lib/actions/setup-r@v1 is deprecated. Please update your workflow to use the '@v2' version. Also look at the examples at https://github.com/r-lib/actions/tree/v2/examples because '@v2' workflows are much simpler than '@v1' workflows."); let version = core.getInput("r-version"); core.debug(`got version ${version}`); diff --git a/setup-renv/action.yaml b/setup-renv/action.yaml index 1c5fead79..9010fdec1 100644 --- a/setup-renv/action.yaml +++ b/setup-renv/action.yaml @@ -9,6 +9,11 @@ inputs: runs: using: "composite" steps: + - name: "@v1 is deprecated" + run: | + echo "::warning r-lib/actions/setup-renv@v1 is deprecated. Please update your workflow to use the '@v2' version. Also look at the examples at https://github.com/r-lib/actions/tree/v2/examples because '@v2' workflows are much simpler than '@v1' workflows." + shell: bash + - name: Set RENV_PATHS_ROOT shell: bash run: | diff --git a/setup-tinytex/lib/setup-tinytex.js b/setup-tinytex/lib/setup-tinytex.js index 8dc073aaa..f389f1ae5 100644 --- a/setup-tinytex/lib/setup-tinytex.js +++ b/setup-tinytex/lib/setup-tinytex.js @@ -44,6 +44,7 @@ if (!tempDirectory) { } function run() { return __awaiter(this, void 0, void 0, function* () { + console.log("::warning r-lib/actions/setup-tinytex@v1 is deprecated. Please update your workflow to use the '@v2' version."); try { yield getTinyTeX(); } diff --git a/setup-tinytex/src/setup-tinytex.ts b/setup-tinytex/src/setup-tinytex.ts index e5db73278..d7d2b8bac 100644 --- a/setup-tinytex/src/setup-tinytex.ts +++ b/setup-tinytex/src/setup-tinytex.ts @@ -27,6 +27,7 @@ if (!tempDirectory) { } async function run() { + console.log("::warning r-lib/actions/setup-tinytex@v1 is deprecated. Please update your workflow to use the '@v2' version."); try { await getTinyTeX(); } catch (error) {