Skip to content

Commit f5b3dfb

Browse files
committed
REfine v1 deprecation messages
1 parent a49212a commit f5b3dfb

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

check-r-package/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ runs:
1919
steps:
2020
- name: "@v1 is deprecated"
2121
run: |
22-
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."
22+
echo "::warning title=r-lib/actions/check-r-package@v1 is deprecated.::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."
2323
shell: bash
2424

2525
- name: Check

pr-fetch/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const exec = __importStar(require("@actions/exec"));
2222
function run() {
2323
return __awaiter(this, void 0, void 0, function* () {
2424
try {
25-
console.log("::warning r-lib/actions/pr-fetch@v1 is deprecated. Please update your workflow to use the '@v2' version.");
25+
console.log("::warning title=r-lib/actions/pr-fetch@v1 is deprecated.::r-lib/actions/pr-fetch@v1 is deprecated. Please update your workflow to use the 'v2' version.");
2626
const token = core.getInput("repo-token", { required: true });
2727
const client = new github.GitHub(token);
2828
const context = github.context;

pr-fetch/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as exec from "@actions/exec";
55
async function run() {
66
try {
77

8-
console.log("::warning r-lib/actions/pr-fetch@v1 is deprecated. Please update your workflow to use the '@v2' version.");
8+
console.log("::warning title=r-lib/actions/pr-fetch@v1 is deprecated.::r-lib/actions/pr-fetch@v1 is deprecated. Please update your workflow to use the 'v2' version.");
99

1010
const token: string = core.getInput("repo-token", { required: true });
1111

pr-push/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const exec = __importStar(require("@actions/exec"));
2222
function run() {
2323
return __awaiter(this, void 0, void 0, function* () {
2424
try {
25-
console.log("::warning r-lib/actions/pr-push@v1 is deprecated. Please update your workflow to use the '@v2' version.");
25+
console.log("::warning title=r-lib/actions/pr-push@v1 is deprecated.::r-lib/actions/pr-push@v1 is deprecated. Please update your workflow to use the '@v2' version.");
2626
const token = core.getInput("repo-token", { required: true });
2727
const cli_args = core.getInput("args");
2828
const client = new github.GitHub(token);

pr-push/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import * as exec from "@actions/exec";
44

55
async function run() {
66
try {
7-
console.log("::warning r-lib/actions/pr-push@v1 is deprecated. Please update your workflow to use the '@v2' version.");
7+
console.log("::warning title=r-lib/actions/pr-push@v1 is deprecated.::r-lib/actions/pr-push@v1 is deprecated. Please update your workflow to use the '@v2' version.");
88
const token: string = core.getInput("repo-token", { required: true });
99
const cli_args: string = core.getInput("args");
1010

run-rchk/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -eo pipefail
44

5-
echo "::warning r-lib/actions/run-rchk@v1 is deprecated. Please update your workflow to use the '@v2' version."
5+
echo "::warning title=r-lib/actions/run-rchk@v1 is deprecated.::r-lib/actions/run-rchk@v1 is deprecated. Please update your workflow to use the 'v2' version."
66

77
cd /home/docker/R-svn/
88
. /home/docker/rchk/scripts/cmpconfig.inc

setup-pandoc/lib/setup-pandoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ if (!tempDirectory) {
4444
}
4545
function run() {
4646
return __awaiter(this, void 0, void 0, function* () {
47-
console.log("::warning r-lib/actions/setup-pandoc@v1 is deprecated. Please update your workflow to use the '@v2' version.");
47+
console.log("::warning title=r-lib/actions/setup-pandoc@v1 is deprecated.::r-lib/actions/setup-pandoc@v1 is deprecated. Please update your workflow to use the 'v2' version.");
4848
try {
4949
let pandocVersion = core.getInput("pandoc-version");
5050
core.debug(`got pandoc-version ${pandocVersion}`);

setup-pandoc/src/setup-pandoc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if (!tempDirectory) {
2828
}
2929

3030
async function run() {
31-
console.log("::warning r-lib/actions/setup-pandoc@v1 is deprecated. Please update your workflow to use the '@v2' version.");
31+
console.log("::warning title=r-lib/actions/setup-pandoc@v1 is deprecated.::r-lib/actions/setup-pandoc@v1 is deprecated. Please update your workflow to use the 'v2' version.");
3232
try {
3333
let pandocVersion = core.getInput("pandoc-version");
3434
core.debug(`got pandoc-version ${pandocVersion}`);

setup-r-dependencies/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ runs:
1818
steps:
1919
- name: "@v1 is deprecated"
2020
run: |
21-
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."
21+
echo "::warning title=r-lib/actions/setup-r-dependencies@v1 is deprecated.::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."
2222
shell: bash
2323

2424
- name: Install pak and query dependencies

setup-r/lib/setup-r.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function run() {
3535
return __awaiter(this, void 0, void 0, function* () {
3636
try {
3737
core.debug(`started action`);
38-
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.");
38+
console.log("::warning title=r-lib/actions/setup-r@v1 is deprecated.::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.");
3939
let version = core.getInput("r-version");
4040
core.debug(`got version ${version}`);
4141
yield installer_1.getR(version);

0 commit comments

Comments
 (0)