Use ubuntu-22.04 instead of ubuntu-latest for workflows
This commit is contained in:
4
.github/workflows/dotnet.yml
vendored
4
.github/workflows/dotnet.yml
vendored
@@ -16,7 +16,7 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
name: Build and Test
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
ArtifactStagingDirectory: "artifacts"
|
||||
IsTagBuild: false
|
||||
@@ -73,7 +73,7 @@ jobs:
|
||||
|
||||
deploy:
|
||||
name: Deploy
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
needs: [build]
|
||||
if: github.event_name != 'pull_request'
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user