Compare commits

..

2 Commits

Author SHA1 Message Date
github-actions[bot] a8bfe74256 Release extension version 0.3.38 (#303)
Co-authored-by: GitHub Actions <github-actions@github.com>
2026-01-19 14:00:31 -06:00
eric sciple e2c5f1f74a Fix shell variable escaping in action.yml snippets (#302) 2026-01-19 13:55:42 -06:00
7 changed files with 31 additions and 33 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@actions/expressions",
"version": "0.3.37",
"version": "0.3.38",
"license": "MIT",
"type": "module",
"source": "./src/index.ts",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@actions/languageserver",
"version": "0.3.37",
"version": "0.3.38",
"description": "Language server for GitHub Actions",
"license": "MIT",
"type": "module",
@@ -48,8 +48,8 @@
"actions-languageserver": "./bin/actions-languageserver"
},
"dependencies": {
"@actions/languageservice": "^0.3.37",
"@actions/workflow-parser": "^0.3.37",
"@actions/languageservice": "^0.3.38",
"@actions/workflow-parser": "^0.3.38",
"@octokit/rest": "^21.1.1",
"@octokit/types": "^9.0.0",
"vscode-languageserver": "^8.0.2",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@actions/languageservice",
"version": "0.3.37",
"version": "0.3.38",
"description": "Language service for GitHub Actions",
"license": "MIT",
"type": "module",
@@ -47,8 +47,8 @@
"watch": "tsc --build tsconfig.build.json --watch"
},
"dependencies": {
"@actions/expressions": "^0.3.37",
"@actions/workflow-parser": "^0.3.37",
"@actions/expressions": "^0.3.38",
"@actions/workflow-parser": "^0.3.38",
"vscode-languageserver-textdocument": "^1.0.7",
"vscode-languageserver-types": "^3.17.2",
"vscode-uri": "^3.0.8",
+12 -14
View File
@@ -91,7 +91,6 @@ main: index.js
# console.log('Hello World');
`;
/* eslint-disable no-useless-escape -- \$ is required to escape $ in VS Code snippets */
const ACTION_SNIPPET_COMPOSITE_FULL = `name: '\${1:Action Name}'
description: '\${2:What this action does}'
@@ -116,9 +115,9 @@ runs:
env:
INPUT_NAME: \\\${{ inputs.name }}
run: |
GREETING="Hello \$INPUT_NAME"
echo "\$GREETING"
echo "greeting=\$GREETING" >> \$GITHUB_OUTPUT
GREETING="Hello \\$INPUT_NAME"
echo "\\$GREETING"
echo "greeting=\\$GREETING" >> \\$GITHUB_OUTPUT
`;
const ACTION_SNIPPET_COMPOSITE_RUNS = `inputs:
@@ -142,9 +141,9 @@ runs:
env:
INPUT_NAME: \\\${{ inputs.name }}
run: |
GREETING="Hello \$INPUT_NAME"
echo "\$GREETING"
echo "greeting=\$GREETING" >> \$GITHUB_OUTPUT
GREETING="Hello \\$INPUT_NAME"
echo "\\$GREETING"
echo "greeting=\\$GREETING" >> \\$GITHUB_OUTPUT
`;
const ACTION_SNIPPET_COMPOSITE_USING = `# For more on composite actions, see:
@@ -180,9 +179,9 @@ runs:
args:
- -c
- |
GREETING="Hello \$INPUT_NAME"
echo "\$GREETING"
echo "greeting=\$GREETING" >> \$GITHUB_OUTPUT
GREETING="Hello \\$INPUT_NAME"
echo "\\$GREETING"
echo "greeting=\\$GREETING" >> \\$GITHUB_OUTPUT
`;
const ACTION_SNIPPET_DOCKER_RUNS = `inputs:
@@ -207,11 +206,10 @@ runs:
args:
- -c
- |
GREETING="Hello \$INPUT_NAME"
echo "\$GREETING"
echo "greeting=\$GREETING" >> \$GITHUB_OUTPUT
GREETING="Hello \\$INPUT_NAME"
echo "\\$GREETING"
echo "greeting=\\$GREETING" >> \\$GITHUB_OUTPUT
`;
/* eslint-enable no-useless-escape */
const ACTION_SNIPPET_DOCKER_USING = `# For more on Docker actions, see:
# https://docs.github.com/en/actions/sharing-automations/creating-actions/creating-a-docker-container-action
+1 -1
View File
@@ -6,5 +6,5 @@
"languageservice",
"languageserver"
],
"version": "0.3.37"
"version": "0.3.38"
}
+9 -9
View File
@@ -136,7 +136,7 @@
},
"expressions": {
"name": "@actions/expressions",
"version": "0.3.37",
"version": "0.3.38",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.0.3",
@@ -396,11 +396,11 @@
},
"languageserver": {
"name": "@actions/languageserver",
"version": "0.3.37",
"version": "0.3.38",
"license": "MIT",
"dependencies": {
"@actions/languageservice": "^0.3.37",
"@actions/workflow-parser": "^0.3.37",
"@actions/languageservice": "^0.3.38",
"@actions/workflow-parser": "^0.3.38",
"@octokit/rest": "^21.1.1",
"@octokit/types": "^9.0.0",
"vscode-languageserver": "^8.0.2",
@@ -940,11 +940,11 @@
},
"languageservice": {
"name": "@actions/languageservice",
"version": "0.3.37",
"version": "0.3.38",
"license": "MIT",
"dependencies": {
"@actions/expressions": "^0.3.37",
"@actions/workflow-parser": "^0.3.37",
"@actions/expressions": "^0.3.38",
"@actions/workflow-parser": "^0.3.38",
"vscode-languageserver-textdocument": "^1.0.7",
"vscode-languageserver-types": "^3.17.2",
"vscode-uri": "^3.0.8",
@@ -13345,10 +13345,10 @@
},
"workflow-parser": {
"name": "@actions/workflow-parser",
"version": "0.3.37",
"version": "0.3.38",
"license": "MIT",
"dependencies": {
"@actions/expressions": "^0.3.37",
"@actions/expressions": "^0.3.38",
"cronstrue": "^2.21.0",
"yaml": "^2.0.0-8"
},
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@actions/workflow-parser",
"version": "0.3.37",
"version": "0.3.38",
"license": "MIT",
"type": "module",
"source": "./src/index.ts",
@@ -48,7 +48,7 @@
"watch": "tsc --build tsconfig.build.json --watch"
},
"dependencies": {
"@actions/expressions": "^0.3.37",
"@actions/expressions": "^0.3.38",
"cronstrue": "^2.21.0",
"yaml": "^2.0.0-8"
},