mirror of
https://github.com/saltstack/salt.git
synced 2025-04-10 06:41:40 +00:00
Consolidate onedir deps and onedir actions
This commit is contained in:
parent
a83582cab1
commit
8c725027db
1 changed files with 23 additions and 14 deletions
37
.github/actions/build-onedir-salt/action.yml
vendored
37
.github/actions/build-onedir-salt/action.yml
vendored
|
@ -29,21 +29,30 @@ runs:
|
|||
|
||||
steps:
|
||||
|
||||
- name: Download Cached Deps Onedir Package Directory
|
||||
id: onedir-bare-cache
|
||||
uses: ./.github/actions/cache
|
||||
#- name: Download Cached Deps Onedir Package Directory
|
||||
# id: onedir-bare-cache
|
||||
# uses: ./.github/actions/cache
|
||||
# with:
|
||||
# path: artifacts/${{ inputs.package-name }}
|
||||
# key: >
|
||||
# ${{ inputs.cache-prefix }}|${{ inputs.python-version }}|deps|${{ inputs.platform }}|${{ inputs.arch }}|${{ inputs.package-name }}|${{
|
||||
# hashFiles(
|
||||
# format('{0}/.relenv/**/*.xz', github.workspace),
|
||||
# 'requirements/static/pkg/*/*.txt',
|
||||
# '.github/actions/build-onedir-deps/action.yml',
|
||||
# '.github/workflows/build-deps-onedir-*.yml',
|
||||
# 'cicd/shared-gh-workflows-context.yml'
|
||||
# )
|
||||
# }}
|
||||
|
||||
- name: Install Salt Packaging Dependencies into Relenv Onedir
|
||||
uses: ./.github/actions/build-onedir-deps
|
||||
# if: steps.onedir-bare-cache.outputs.cache-hit != 'true'
|
||||
with:
|
||||
path: artifacts/${{ inputs.package-name }}
|
||||
key: >
|
||||
${{ inputs.cache-prefix }}|${{ inputs.python-version }}|deps|${{ inputs.platform }}|${{ inputs.arch }}|${{ inputs.package-name }}|${{
|
||||
hashFiles(
|
||||
format('{0}/.relenv/**/*.xz', github.workspace),
|
||||
'requirements/static/pkg/*/*.txt',
|
||||
'.github/actions/build-onedir-deps/action.yml',
|
||||
'.github/workflows/build-deps-onedir-*.yml',
|
||||
'cicd/shared-gh-workflows-context.yml'
|
||||
)
|
||||
}}
|
||||
platform: ${{ inputs.platform }}
|
||||
arch: ${{ inputs.arch }}
|
||||
python-version: "${{ inputs.python-version }}"
|
||||
cache-prefix: ${{ inputs.cache-seed }}|relenv|${{ inputs.salt-version }}
|
||||
|
||||
- name: Download Source Tarball
|
||||
uses: actions/download-artifact@v4
|
||||
|
|
Loading…
Add table
Reference in a new issue