We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug After updating code to adhere to GitHub Actions: Deprecating save-state and set-output commands vscode-github-actions started to show errors in code.
To Reproduce
- name: Read Python version from .python-version run: echo "python_version=$(cat .python-version)" >> "$GITHUB_ENV" - name: Set up Python uses: actions/setup-python@v4 with: python-version: ${{ env.python_version }}
Expected behavior No errors.
Screenshots
The error:
The GitHub Action log showing the code runs without problems:
Extension Version v0.25.7
v0.25.7
Additional context VSCode version: 1.79.0-insider
1.79.0-insider
I am using Visual Studio Code Dev Containers
The action is running fine as a GitHub Action.
The entire code, for context
name: YAMLLint on: pull_request: paths: - '**.yaml' - '**.yml' jobs: lint: runs-on: ubuntu-latest steps: - name: Check out repository uses: actions/checkout@v3 - name: Read Python version from .python-version run: echo "python_version=$(cat .python-version)" >> "$GITHUB_ENV" - name: Set up Python uses: actions/setup-python@v4 with: python-version: ${{ env.python_version }} - name: Install yamllint run: | python -m pip install --upgrade pip grep yamllint requirements.txt | xargs -n 1 pip install - name: Lint YAML files run: | git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* git ls-files --exclude-standard --cached --others -- '*.yaml' '*.yml' | xargs yamllint
The text was updated successfully, but these errors were encountered:
duplicate of #47
Sorry, something went wrong.
Duplicate
No branches or pull requests
Describe the bug
After updating code to adhere to GitHub Actions: Deprecating save-state and set-output commands vscode-github-actions started to show errors in code.
To Reproduce
Expected behavior
No errors.
Screenshots
The error:
The GitHub Action log showing the code runs without problems:
Extension Version
v0.25.7
Additional context
VSCode version:
1.79.0-insider
I am using Visual Studio Code Dev Containers
The action is running fine as a GitHub Action.
The entire code, for context
The text was updated successfully, but these errors were encountered: