mirror of
https://github.com/libgit2/libgit2.git
synced 2026-06-22 06:26:26 +00:00
ci: update nightly workflows
Update the nightly and benchmark workflows to only run steps in libgit2/libgit2 by default. Also update the benchmark workflow to use the latest download-artifact version.
This commit is contained in:
4
.github/workflows/benchmark.yml
vendored
4
.github/workflows/benchmark.yml
vendored
@@ -89,7 +89,7 @@ jobs:
|
||||
publish:
|
||||
name: Publish results
|
||||
needs: [ build ]
|
||||
if: always()
|
||||
if: ${{ always() && github.repository == 'libgit2/libgit2' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out benchmark repository
|
||||
@@ -100,7 +100,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
ssh-key: ${{ secrets.BENCHMARKS_PUBLISH_KEY }}
|
||||
- name: Download test results
|
||||
uses: actions/download-artifact@v3
|
||||
uses: actions/download-artifact@v4
|
||||
- name: Publish API
|
||||
run: |
|
||||
# Move today's benchmark run into the right place
|
||||
|
||||
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@@ -401,7 +401,7 @@ jobs:
|
||||
test_results:
|
||||
name: Test results
|
||||
needs: [ build ]
|
||||
if: always()
|
||||
if: ${{ always() && github.repository == 'libgit2/libgit2' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download test results
|
||||
|
||||
Reference in New Issue
Block a user