Skip to content

Commit

Permalink
Update dotnet-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager committed Aug 31, 2024
1 parent c8abb53 commit b56b130
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/dotnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,6 @@ jobs:
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Extract Version from tag
id: tag
uses: actions/github-script@v7
with:
script: |
const version = context.ref.replace('refs/tags/', '');
return version.slice(1);
- name: Restore dependencies
working-directory: ./src
run: dotnet restore
Expand All @@ -42,5 +35,4 @@ jobs:
repo_name: nager/Nager.FineDustSensor
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./publish/Nager.FineDustSensor.SensorControl.zip
tag: ${{ steps.tag.outputs.result }}
overwrite: true

0 comments on commit b56b130

Please sign in to comment.