Skip to content
New issue

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

Separate windows step from *nix runners #2

Merged
merged 4 commits into from
Oct 30, 2022
Merged

Separate windows step from *nix runners #2

merged 4 commits into from
Oct 30, 2022

Conversation

norwd
Copy link
Owner

@norwd norwd commented Oct 30, 2022

This allows bash and pwsh syntax to be used separately to avoid having to write the test as a polyglot 😬

Also added secrets.GITHUB_TOKEN as a fallback in case the repo secret secrets.GH_TOKEN is not set up, e.g. in a fork.

Signed-off-by: Yuri Norwood 106889957+norwd@users.noreply.github.com

Your code will be released under the MIT license. Are you in the position, and are you willing to release your code under this license?

Yup :)

norwd added 4 commits October 31, 2022 08:43
This allows `bash` and `pwsh` syntax to be used separately to avoid having to write the test as a polyglot 😬

Also added `secrets.GITHUB_TOKEN` as a fallback in case the repo secret `secrets.GH_TOKEN` is not set up, e.g. in a fork.

Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
On MacOS, this results in:

```
Error: Provided rootDirectory /tmp is not a valid directory
```

On Windows this results in:

```
Error: No files were found with the provided path: /tmp/gotest.windows.log. No artifacts will be uploaded.
```

Both seem to be unhappy with `/tmp`, since the workspace is implicitly cleaned up at the end of the workflow, there shouldn't be a need to specify `/tmp`.

Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
Signed-off-by: Yuri Norwood <106889957+norwd@users.noreply.github.com>
@norwd norwd merged commit eba019b into main Oct 30, 2022
@norwd norwd deleted the norwd-patch-1 branch November 6, 2022 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant