Skip to content

Commit a7e8ee7

Browse files
authored
Update building-and-testing-net.md
Version 1.6.0 is no longer supported by Github Actions due to "Deprecating set-env and add-path commands". https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
1 parent dcf6177 commit a7e8ee7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

content/actions/guides/building-and-testing-net.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
steps:
4343
- uses: actions/checkout@v2
4444
- name: Setup .NET Core SDK ${{ matrix.dotnet }}
45-
uses: actions/setup-dotnet@v1.6.0
45+
uses: actions/setup-dotnet@v1.7.2
4646
with:
4747
dotnet-version: ${{ matrix.dotnet-version }}
4848
- name: Install dependencies
@@ -79,7 +79,7 @@ jobs:
7979
steps:
8080
- uses: actions/checkout@v2
8181
- name: Setup dotnet ${{ matrix.dotnet-version }}
82-
uses: actions/setup-dotnet@v1.6.0
82+
uses: actions/setup-dotnet@v1.7.2
8383
with:
8484
dotnet-version: ${{ matrix.dotnet-version }}
8585
# You can test your matrix by printing the current dotnet version
@@ -111,7 +111,7 @@ You can configure your job to use a specific version of .NET, such as `3.1.3`. A
111111
steps:
112112
- uses: actions/checkout@v2
113113
- name: Setup dotnet
114-
uses: actions/setup-dotnet@v1.6.0
114+
uses: actions/setup-dotnet@v1.7.2
115115
with:
116116
dotnet-version: '3.1.x'
117117
- name: Install dependencies
@@ -132,7 +132,7 @@ For more information, see "[Caching dependencies to speed up workflows](/actions
132132
steps:
133133
- uses: actions/checkout@v2
134134
- name: Setup dotnet
135-
uses: actions/setup-dotnet@v1.6.0
135+
uses: actions/setup-dotnet@v1.7.2
136136
with:
137137
dotnet-version: '3.1.x'
138138
- uses: actions/cache@v2
@@ -164,7 +164,7 @@ You can use the same commands that you use locally to build and test your code.
164164
steps:
165165
- uses: actions/checkout@v2
166166
- name: Setup dotnet
167-
uses: actions/setup-dotnet@v1.6.0
167+
uses: actions/setup-dotnet@v1.7.2
168168
with:
169169
dotnet-version: '3.1.x'
170170
- name: Install dependencies
@@ -199,7 +199,7 @@ jobs:
199199
steps:
200200
- uses: actions/checkout@v2
201201
- name: Setup dotnet
202-
uses: actions/setup-dotnet@v1.6.0
202+
uses: actions/setup-dotnet@v1.7.2
203203
with:
204204
dotnet-version: ${{ matrix.dotnet-version }}
205205
- name: Install dependencies

0 commit comments

Comments
 (0)