Compare commits

..

10 Commits

Author SHA1 Message Date
Zachary Eisinger 7df9f59802 Merge pull request #89 from actions/issue-templates
Main workflow / test-bypass-proxy (push) Has been cancelled
Main workflow / build (macOS-latest) (push) Has been cancelled
Main workflow / build (ubuntu-latest) (push) Has been cancelled
Main workflow / build (windows-latest) (push) Has been cancelled
Main workflow / test (macOS-latest) (push) Has been cancelled
Main workflow / test (ubuntu-latest) (push) Has been cancelled
Main workflow / test (windows-latest) (push) Has been cancelled
Main workflow / test-proxy (push) Has been cancelled
Adding issue templates
2020-06-12 11:03:40 -07:00
Zachary Eisinger a4ec20650e Merge pull request #98 from actions/csc-testing
Update install-dotnet.ps1 and add csc tests
2020-06-12 10:59:27 -07:00
Zachary Eisinger b7a80c5d92 Update .github/ISSUE_TEMPLATE/config.yml
Co-authored-by: Rainer Sigwald <raines@microsoft.com>
2020-06-12 10:52:32 -07:00
Zachary Eisinger 3648b37cf8 Update .github/ISSUE_TEMPLATE/config.yml
Co-authored-by: Rainer Sigwald <raines@microsoft.com>
2020-06-12 10:52:24 -07:00
Zachary Eisinger 73683e5d2f Merge pull request #92 from actions/readme-envvars
Include useful environment variables in the README
2020-06-12 10:51:24 -07:00
Zachary Eisinger 232f64b253 Update install-dotnet and add csc tests 2020-06-12 10:46:25 -07:00
Zachary Eisinger 5091cc16d9 Update environment variable scope 2020-06-01 08:53:23 -07:00
Zachary Eisinger fe5534da38 Include useful environment variables in the README 2020-05-29 13:39:14 -07:00
Zachary Eisinger 82b9a8ff02 Add a bug report issue template 2020-05-18 12:03:57 -07:00
Zachary Eisinger 392189ddd3 Create config file to link to dotnet core issues 2020-05-18 11:40:25 -07:00
5 changed files with 951 additions and 686 deletions
+23
View File
@@ -0,0 +1,23 @@
---
name: Bug report
about: Create a bug report
title: ''
labels: ''
assignees: ''
---
### Description
<!--
* Please share short description of the problem
-->
### Details
<!--
* Include the relevant yaml, platform, and dotnet versions in use
* If an error occurred on a public action, please share a link
* Include any error messages received in text (search does not work for images)
* Was this a regression from previous behavior?
-->
+5
View File
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: .NET issues
url: https://github.com/dotnet/runtime#filing-issues
about: Issues with the runtime, class libraries, frameworks, and SDK should be addressed directly with the .NET team. Documentation on filing issues can be found here.
+21
View File
@@ -69,6 +69,27 @@ steps:
run: dotnet nuget push <my project>/bin/Release/*.nupkg
```
## Environment Variables to use with dotnet
Some environment variables may be necessary for your particular case or to improve logging. Some examples are listed below, but the full list with complete details can be found here: https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet#environment-variables
- DOTNET_NOLOGO - removes logo and telemetry message from first run of dotnet cli (default: false)
- DOTNET_CLI_TELEMETRY_OPTOUT - opt-out of telemetry being sent to Microsoft (default: false)
- DOTNET_MULTILEVEL_LOOKUP - configures whether the global install location is used as a fall-back (default: true)
Example usage:
```
build:
runs-on: ubuntu-latest
env:
DOTNET_NOLOGO: true
steps:
- uses: actions/checkout@master
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.100' # SDK Version to use.
```
# License
The scripts and documentation in this project are released under the [MIT License](LICENSE)
+23
View File
@@ -0,0 +1,23 @@
import fs = require('fs');
describe('csc tests', () => {
it('Valid regular expression', async () => {
var cscFile = require('../.github/csc.json');
var regex = cscFile['problemMatcher'][0]['pattern'][0]['regexp'];
console.log(regex);
var re = new RegExp(regex);
// Ideally we would verify that this
var stringsToMatch = [
'Program.cs(10,79): error CS1002: ; expected [/Users/zacharyeisinger/Documents/repo/setup-dotnet/__tests__/sample-broken-csproj/sample.csproj]',
"S:\\Msbuild\\src\\Build\\Evaluation\\ExpressionShredder.cs(33,7): error CS1003: Syntax error, ',' expected [S:\\msbuild\\src\\Build\\Microsoft.Build.csproj > Properties:prop]"
];
stringsToMatch.forEach(string => {
var matchStr = string.match(re);
console.log(matchStr);
expect(matchStr).toEqual(expect.anything());
});
}, 10000);
});
+879 -686
View File
File diff suppressed because it is too large Load Diff