Describe the bug
Running the example workflow .github/workflows/example-chrome.yml produces Annotation warnings:
-
"Unexpected input(s) 'headless', valid inputs are ['record', 'config', 'config-file', 'env', 'browser', 'command', 'start', 'start-windows', 'build', 'install', 'install-command', 'runTests', 'wait-on', 'wait-on-timeout', 'parallel', 'group', 'tag', 'working-directory', 'headed', 'spec', 'project', 'command-prefix', 'ci-build-id', 'cache-key', 'quiet', 'component']"
-
"No files were found with the provided path: examples/chrome/cypress/videos. No artifacts will be uploaded."
-
"No files were found with the provided path: examples/chrome/cypress/screenshots. No artifacts will be uploaded."
See for example run 3687891756.
Steps to reproduce the issue
Open a pull request
View the the action logs for https://github.com/cypress-io/github-action/actions/workflows/example-chrome.yml
Expected behavior
There should be no Annotations warnings in the log.
Suggested Fixes
- Correct the paths for artifact uploads. Add
v9 for v9 tests.
- Ensure that the artifact names are unique. Append
-v10 to v10 tests.
- Convert the incorrect parameter
headless: true to headed: false
Describe the bug
Running the example workflow .github/workflows/example-chrome.yml produces Annotation warnings:
"Unexpected input(s) 'headless', valid inputs are ['record', 'config', 'config-file', 'env', 'browser', 'command', 'start', 'start-windows', 'build', 'install', 'install-command', 'runTests', 'wait-on', 'wait-on-timeout', 'parallel', 'group', 'tag', 'working-directory', 'headed', 'spec', 'project', 'command-prefix', 'ci-build-id', 'cache-key', 'quiet', 'component']"
"No files were found with the provided path: examples/chrome/cypress/videos. No artifacts will be uploaded."
"No files were found with the provided path: examples/chrome/cypress/screenshots. No artifacts will be uploaded."
See for example run 3687891756.
Steps to reproduce the issue
Open a pull request
View the the action logs for https://github.com/cypress-io/github-action/actions/workflows/example-chrome.yml
Expected behavior
There should be no Annotations warnings in the log.
Suggested Fixes
v9for v9 tests.-v10to v10 tests.headless: truetoheaded: false