mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix some more places where we need to use `actions/{upload,download}-artifact@v3
`
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
d8facee4de
commit
e66e036ba8
5 changed files with 15 additions and 5 deletions
4
.github/actions/download-artifact/action.yml
vendored
4
.github/actions/download-artifact/action.yml
vendored
|
@ -23,7 +23,9 @@ inputs:
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v4
|
- uses: actions/download-artifact@v3
|
||||||
|
# This needs to be actions/download-artifact@v3 because we upload multiple artifacts
|
||||||
|
# under the same name something that actions/upload-artifact@v4 does not do.
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.name }}
|
name: ${{ inputs.name }}
|
||||||
path: ${{ inputs.path }}
|
path: ${{ inputs.path }}
|
||||||
|
|
4
.github/actions/upload-artifact/action.yml
vendored
4
.github/actions/upload-artifact/action.yml
vendored
|
@ -45,7 +45,9 @@ runs:
|
||||||
shopt -s globstar || echo "'globstar' not available"
|
shopt -s globstar || echo "'globstar' not available"
|
||||||
tar -cavf ${{ inputs.archive-name || inputs.name || 'archive' }}.tar.gz ${{ inputs.path }}
|
tar -cavf ${{ inputs.archive-name || inputs.name || 'archive' }}.tar.gz ${{ inputs.path }}
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v3
|
||||||
|
# This needs to be actions/upload-artifact@v3 because we upload multiple artifacts
|
||||||
|
# under the same name something that actions/upload-artifact@v4 does not do.
|
||||||
with:
|
with:
|
||||||
name: ${{ inputs.name }}
|
name: ${{ inputs.name }}
|
||||||
path: ${{ inputs.archive-name || inputs.name || 'archive' }}.tar.gz
|
path: ${{ inputs.archive-name || inputs.name || 'archive' }}.tar.gz
|
||||||
|
|
4
.github/workflows/nightly.yml
vendored
4
.github/workflows/nightly.yml
vendored
|
@ -2922,7 +2922,9 @@ jobs:
|
||||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||||
|
|
||||||
- name: Download Repository Artifact
|
- name: Download Repository Artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
|
# This needs to be actions/download-artifact@v3 because we upload multiple artifacts
|
||||||
|
# under the same name something that actions/upload-artifact@v4 does not do.
|
||||||
with:
|
with:
|
||||||
name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-nightly-repo
|
name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-nightly-repo
|
||||||
path: repo/
|
path: repo/
|
||||||
|
|
4
.github/workflows/staging.yml
vendored
4
.github/workflows/staging.yml
vendored
|
@ -2731,7 +2731,9 @@ jobs:
|
||||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||||
|
|
||||||
- name: Download Repository Artifact
|
- name: Download Repository Artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
|
# This needs to be actions/download-artifact@v3 because we upload multiple artifacts
|
||||||
|
# under the same name something that actions/upload-artifact@v4 does not do.
|
||||||
with:
|
with:
|
||||||
name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-staging-repo
|
name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-staging-repo
|
||||||
path: repo/
|
path: repo/
|
||||||
|
|
|
@ -170,7 +170,9 @@ concurrency:
|
||||||
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
cache-prefix: ${{ needs.prepare-workflow.outputs.cache-seed }}
|
||||||
|
|
||||||
- name: Download Repository Artifact
|
- name: Download Repository Artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
|
# This needs to be actions/download-artifact@v3 because we upload multiple artifacts
|
||||||
|
# under the same name something that actions/upload-artifact@v4 does not do.
|
||||||
with:
|
with:
|
||||||
name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-<{ gh_environment }>-repo
|
name: salt-${{ needs.prepare-workflow.outputs.salt-version }}-<{ gh_environment }>-repo
|
||||||
path: repo/
|
path: repo/
|
||||||
|
|
Loading…
Add table
Reference in a new issue