Update Github Actions workflow files
This commit is contained in:
Родитель
554b00c2bd
Коммит
f3a799a2b7
|
@ -1,4 +1,5 @@
|
|||
name: generate-changelog
|
||||
run-name: Generate changelog / ${{ github.event.head_commit.message }}
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
name: generate-gh-pages
|
||||
run-name: Generate gh-pages / ${{ github.event.head_commit.message }}
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
name: publish-nightly
|
||||
run-name: Publish nightly nupkg / ${{ github.event.head_commit.message }}
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -14,6 +15,11 @@ jobs:
|
|||
run: echo "DATE=$(date +'%Y%m%d')" >> $GITHUB_ENV
|
||||
- name: Pack
|
||||
run: ./build.cmd pack /p:VersionSuffix=nightly.$DATE.$GITHUB_RUN_NUMBER
|
||||
- name: Upload nupkg to artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: nupkgs
|
||||
path: "**/*.nupkg"
|
||||
- name: Publish nupkg
|
||||
env:
|
||||
MYGET_API_KEY: ${{ secrets.MYGET_API_KEY }}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
name: report-test-results
|
||||
run-name: Report test results for '${{ github.event.workflow_run.head_branch }}' / ${{ github.event.workflow_run.display_title }}
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
|
@ -11,12 +12,6 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
permissions: write-all
|
||||
steps:
|
||||
- name: Print info about the target workflow_run
|
||||
run : |
|
||||
echo "workflow_run: ${{ github.event.workflow_run }}"
|
||||
echo "head_sha: ${{ github.event.workflow_run.head_sha }}"
|
||||
echo "workflow_id: ${{ github.event.workflow_run.workflow_id }}"
|
||||
echo "head_branch: ${{ github.event.workflow_run.head_branch }}"
|
||||
- name: Download Artifacts
|
||||
uses: dawidd6/action-download-artifact@v2
|
||||
with:
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
name: run-tests
|
||||
run-name: Run tests / ${{ github.event.head_commit.message }}
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
@ -95,7 +96,7 @@ jobs:
|
|||
name: test-macos-trx
|
||||
path: "**/*.trx"
|
||||
|
||||
docs-spellcheck:
|
||||
spellcheck-docs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
|
Загрузка…
Ссылка в новой задаче