Skip to content

Commit

Permalink
duh this should be _after_ checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
Gargaj committed May 17, 2023
1 parent 8741189 commit c73d377
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ jobs:
create_release:
runs-on: windows-2019
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Get version
id: version
run: |
$m = Select-String -path Source\Properties\AssemblyInfo.cs 'AssemblyVersion\(\"([\d\.]+)\"\)'
echo "version=$($m.Matches.Groups[1].Value)" >> $env:GITHUB_OUTPUT
echo "version_sanitized=$($m.Matches.Groups[1].Value.Replace('.','_'))" >> $env:GITHUB_OUTPUT
- name: Checkout
uses: actions/checkout@v3
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: Build Release
Expand Down

0 comments on commit c73d377

Please sign in to comment.