Generate changelog / Fix consume ValueTask backed by IValueTaskSource (#2108)
* Added AwaitHelper to properly wait for ValueTasks.
* Adjust AwaitHelper
to allow multiple threads to use it concurrently.
* Changed AwaitHelper to static.
* Add test case to make sure ValueTasks work properly with a race condition between IsCompleted
and OnCompleted
.
Changed AwaitHelper to use ManualResetEventSlim
instead of Monitor.Wait
.
* Make ValueTaskWaiter.Wait
generic.
* Compare types d...
#136
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: generate-changelog | |
run-name: Generate changelog / ${{ github.event.head_commit.message }} | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
permissions: write-all | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: master | |
- name: Download changelog | |
run: ./build.cmd docs-update --depth 1 --preview | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Push changelog | |
uses: JamesIves/github-pages-deploy-action@3.7.1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: docs-changelog-details | |
FOLDER: docs/_changelog/details | |
GIT_CONFIG_NAME: Andrey Akinshin | |
GIT_CONFIG_EMAIL: andrey.akinshin@gmail.com | |
CLEAN: true |