Skip to content

Commit

Permalink
Update publish-dotnet-binaries.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigoramosrs authored Jan 15, 2024
1 parent 4bae071 commit 73a56d8
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/publish-dotnet-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,21 @@ jobs:
create_release_and_publish:
name: Create release and publish
needs: [build_windows,build_linux]
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- name: Create paths
run: |
md build
md release
mkdir build
mkdir release
- name: Checkout code
uses: actions/checkout@v2

- name: Get commit message
run: |
$COMMIT_MESSAGE = git log -1 --pretty=format:%s
Write-Host "::set-env name=COMMIT_MESSAGE::$COMMIT_MESSAGE"
COMMIT_MESSAGE=$(git log -1 --pretty=format:%s)
echo "::set-env name=COMMIT_MESSAGE::$COMMIT_MESSAGE"
- name: Create release
id: create_release
uses: actions/create-release@v1
Expand Down

0 comments on commit 73a56d8

Please sign in to comment.