mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +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:
|
steps:
|
||||||
|
|
||||||
- name: Download Cached Deps Onedir Package Directory
|
#- name: Download Cached Deps Onedir Package Directory
|
||||||
id: onedir-bare-cache
|
# id: onedir-bare-cache
|
||||||
uses: ./.github/actions/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:
|
with:
|
||||||
path: artifacts/${{ inputs.package-name }}
|
platform: ${{ inputs.platform }}
|
||||||
key: >
|
arch: ${{ inputs.arch }}
|
||||||
${{ inputs.cache-prefix }}|${{ inputs.python-version }}|deps|${{ inputs.platform }}|${{ inputs.arch }}|${{ inputs.package-name }}|${{
|
python-version: "${{ inputs.python-version }}"
|
||||||
hashFiles(
|
cache-prefix: ${{ inputs.cache-seed }}|relenv|${{ inputs.salt-version }}
|
||||||
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: Download Source Tarball
|
- name: Download Source Tarball
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
|
Loading…
Add table
Reference in a new issue