| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| env |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| name: "Start proxy" | ||
| description: "Tests that the proxy can be initialised on all platforms" | ||
| operatingSystems: ["ubuntu", "macos", "windows"] | ||
| versions: ["linked"] | ||
| steps: | ||
| - uses: ./../action/init | ||
| with: | ||
| languages: csharp | ||
| tools: ${{ steps.prepare-test.outputs.tools-url }} | ||
|
|
||
| - name: Setup proxy for registries | ||
| id: proxy | ||
| uses: ./../action/start-proxy | ||
| with: | ||
| registry_secrets: '[{ "type": "nuget_feed", "url": "https://api.nuget.org/v3/index.json" }]' | ||
|
|
||
| - name: Print proxy outputs | ||
| run: | | ||
| echo "${{ steps.proxy.outputs.proxy_host }}" | ||
| echo "${{ steps.proxy.outputs.proxy_port }}" | ||
| echo "${{ steps.proxy.outputs.proxy_urls }}" | ||
|
|
||
| - name: Fail if proxy outputs are not set | ||
| if: (!steps.proxy.outputs.proxy_host) || (!steps.proxy.outputs.proxy_port) || (!steps.proxy.outputs.proxy_ca_certificate) || (!steps.proxy.outputs.proxy_urls) | ||
| run: exit 1 |
| Back | FazBrowse Home | New Git URL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityThe filter condition should use 'credential.url != null' instead of 'credential.url !== undefined' to properly filter out both 'undefined' and 'null' values.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.