Skip to content

Update GitHub API usage in E2E tests #311

Update GitHub API usage in E2E tests

Update GitHub API usage in E2E tests #311

Triggered via push November 18, 2024 10:29
Status Failure
Total duration 1m 19s
Artifacts

ci.yml

on: push
Matrix: build
Matrix: E2E test
Fit to window
Zoom out
Zoom in

Annotations

8 errors
E2E test (ubuntu-latest)
Unhandled error: TypeError: Cannot read properties of undefined (reading 'deleteRef')
E2E test (ubuntu-latest)
Unhandled error: AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal: + actual - expected ... Lines skipped + '# Upload files to a GitHub release [![GitHub Actions Workflow](https://github.com/svenstaro/upload-release-action/actions/workflows/ci.yml/badge.svg)](https://github.com/svenstaro/upload-release-action/actions)\n' + + '\n' + + 'This action allows you to select which files to upload to the just-tagged release.\n' + + 'It runs on all operating systems types offered by GitHub.\n' + + '\n' + + '## Input variables\n' + + '\n' + + 'You must provide:\n' + + '\n' + + '- `file`: A local file to be uploaded as the asset.\n' + + '\n' + + 'Optional Arguments\n' + + '\n' + + '- `repo_token`: Defaults to `github.token`.\n' + + "- `tag`: The tag to upload into. If you want the current event's tag or branch name, use `${{ github.ref }}` (the `refs/tags/` and `refs/heads/` prefixes will be automatically stripped). Defaults to `github.ref`.\n" + + '- `asset_name`: The name the file gets as an asset on a release. Use `$tag` to include the tag name. When not provided it will default to the filename.\n' + + ' This is not used if `file_glob` is set to `true`.\n' + + '- `file_glob`: If set to true, the `file` argument can be a glob pattern (`asset_name` is ignored in this case) (Default: `false`)\n' + + '- `overwrite`: If an asset with the same name already exists, overwrite it (Default: `false`).\n' + + '- `promote`: If a prerelease already exists, promote it to a release (Default: `false`).\n' + + '- `draft`: Sets the release as a draft instead of publishing it, allowing you to make any edits needed before releasing (Default: `false`).\n' + + '- `prerelease`: Mark the release as a pre-release (Default: `false`).\n' + + '- `make_latest`: Mark the release as the latest release for the repository (Default: `true`).\n' + + '- `release_name`: Explicitly set a release name. (Defaults: implicitly same as `tag` via GitHub API).\n' + + '- `target_commit`: Sets the commit hash or branch for the tag to be based on (Default: the default branch, usually `main`).\n' + + '- `body`: Content of the release text (Default: `""`).\n' + + '- `repo_name`: Specify the name of the GitHub repository in which the GitHub release will be created, edited, and deleted. If the repository is other than the current, it is required to create a personal access token with `repo`, `user`, `admin:repo_hook` scopes to the foreign repository and add it as a secret. (Default: current repository).\n' + + '\n' + + '## Output variables\n' + + '\n' + + '- `browser_download_url`: The publicly available URL of the asset.\n' + + '\n' + + '## Usage\n' + + '\n' + + 'This usage assumes you want to build on tag creations only.\n' + + 'This is a common use case as you will want to upload release binaries for your tags.\n' + + '\n' + + 'Simple example:\n' + + '\n' + + '```yaml\n' + + 'name: Publish\n' + + '\n' + + 'on:\n' + + ' push:\n' + + ' tags:\n' + + " - '*'\n" + + '\n' + ... - ArrayBuffer { - [Uint8Contents]: <23 20 55 70 6c 6f 61 64 20 66 69 6c 65 73 20 74 6f 20 61 20 47 69 74 48 75 62 20 72 65 6c 65 61 73 65 20 5b 21 5b 47 69 74 48 75 62 20 41 63 74 69 6f 6e 73 20 57 6f 72 6b 66 6c 6f 77 5d 28 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 73 76 65 6e 73 74 61 72 6f 2f 75 70 6c 6f 61 64 2d 72 65 6c 65 61 73 65 2d 61 63 74 69 6f 6e 2f 61 63 74 69 6f 6e 73 2f 77 6f 72 6b 66 6c 6f 77 73 2f 63 69 2e 79 6d 6c 2f 62 61 64 67 65 2e 73 76 67 29 5d 28 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 73 76 65 6e 73 74 61 72 6f 2f 75 70 6c 6f 61 64 2d 72 65 6c 65 61 73 65 2d 61 63 74 69 6f 6e 2f 61 63 74 69 6f 6e 73 29 0a 0a 54 68 69 73 20 61 63 74 69 6f 6e 20 61 6c 6c 6f 77 73 20 79 6f 75 20 74 6f 20 73 65 6c 65 63 74 20 77 68 69 63 68 20 66 69 6c 65 73 20 74 6f 20 75 70 6c 6f 61 64 20 74 6f 20 74 68 65 20 6a 75 73 74 2d 74 61 67 67 65 64 20 72 65 6c 65 61 73 65 2e 0a 49 74 20 72 75 6e 73 20 6f 6e 20 61 6c 6c 20 6f 70 65 72 61 74 6
E2E test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
E2E test (windows-latest)
Unhandled error: HttpError: Not Found
E2E test (windows-latest)
The operation was canceled.
E2E test (macos-latest)
The job was canceled because "ubuntu-latest" failed.
E2E test (macos-latest)
The operation was canceled.
E2E test (macos-latest)
Unhandled error: HttpError: Not Found