Skip to content

Commit

Permalink
Change how version is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
jzabroski authored Dec 8, 2021
1 parent 950de56 commit 34a26fd
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/dotnet-pack-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,28 +49,12 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Check src directory existence
id: check_src_directory
uses: andstor/file-existence-action@v1
with:
files: "src"
- name: Check file existence w/ backslash path separator
id: check_files_backslash
uses: andstor/file-existence-action@v1
with:
files: "src\\RazorLight\\RazorLight.csproj"
- name: Check file existence w/ forward slash path separator
id: check_files_forwardslash
uses: andstor/file-existence-action@v1
with:
files: "src/RazorLight/RazorLight.csproj"

- name: Publish RazorLight
uses: brandedoutcast/[email protected]
with:
PROJECT_FILE_PATH: src\RazorLight\RazorLight.csproj
VERSION_STATIC: ${{ github.event.inputs.version }}
VERSION_FILE_PATH: src\Directory.Build.props
INCLUDE_SYMBOLS: true
NUGET_KEY: ${{secrets.NUGET_API_KEY}}

0 comments on commit 34a26fd

Please sign in to comment.