diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2021-11-20 16:32:05 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-20 16:32:05 -0600 |
| commit | 1a164c53474f97b08432ba106c0eabbba4c3122a (patch) | |
| tree | c5b584b5f28a17c0c37847b0fe7080932d121222 /.github | |
| parent | c9934c3a232d42d4199f1f284ed00a614803059c (diff) | |
| download | slskd-1a164c53474f97b08432ba106c0eabbba4c3122a.tar.gz | |
Update ci.yml
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7603ad86..2c85d678 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,9 @@ on: branches: [ master ] workflow_dispatch: +env: + DOTNET_VERSION: '6.0.0' + jobs: build: name: Build and Test @@ -17,6 +20,11 @@ jobs: with: fetch-depth: 0 + - name: Set Up .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: ${{ env.DOTNET_VERSION }} + - name: Set Environment Variables run: | echo "VERSION=$(git describe --tags --abbrev=0).$([[ $GITHUB_REF = refs/tags/* ]] && echo 0 || echo 65534)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV @@ -48,6 +56,11 @@ jobs: with: fetch-depth: 0 + - name: Set Up .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: ${{ env.DOTNET_VERSION }} + - name: Set Environment Variables run: | echo "VERSION=$(git describe --tags --abbrev=0).$([[ $GITHUB_REF = refs/tags/* ]] && echo 0 || echo 65534)-$(git rev-parse --short HEAD)" >> $GITHUB_ENV |
