mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
Fix cross-workflow artifact download using dawidd6/action-download-artifact
- Replace actions/download-artifact@v4 with dawidd6/action-download-artifact@v6 - The default download-artifact action only works within same workflow run - Third-party action enables downloading artifacts from different workflow - Both test workflows now download from latest successful tesla-k80-ci.yml run
This commit is contained in:
@@ -16,11 +16,14 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download ollama binary from build workflow
|
||||
uses: actions/download-artifact@v4
|
||||
- name: Download ollama binary from latest build
|
||||
uses: dawidd6/action-download-artifact@v6
|
||||
with:
|
||||
workflow: tesla-k80-ci.yml
|
||||
name: ollama-binary
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
check_artifacts: true
|
||||
search_artifacts: true
|
||||
|
||||
- name: Make ollama binary executable
|
||||
run: |
|
||||
|
||||
@@ -13,11 +13,14 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download ollama binary from build workflow
|
||||
uses: actions/download-artifact@v4
|
||||
- name: Download ollama binary from latest build
|
||||
uses: dawidd6/action-download-artifact@v6
|
||||
with:
|
||||
workflow: tesla-k80-ci.yml
|
||||
name: ollama-binary
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
check_artifacts: true
|
||||
search_artifacts: true
|
||||
|
||||
- name: Make ollama binary executable
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user