Skip to content

Commit

Permalink
meh
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Nov 3, 2024
1 parent fc49e71 commit bf2a633
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-deps-ci-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ jobs:
if: ${{ inputs.kind == 'windows' }}
env:
USE_S3_CACHE: 'false'
GITHUB_WORKSPACE: 'C:\Windows\Temp\testing'
timeout-minutes: 90
strategy:
fail-fast: false
Expand Down
21 changes: 11 additions & 10 deletions .github/workflows/test-packages-action-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,17 @@ jobs:

steps:

- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@v5
with:
python-version: "${{ inputs.python-version }}"

- name: "Throttle Builds"
shell: bash
run: |
t=$(python3 -c 'import random, sys; sys.stdout.write(str(random.randint(1, 15)))'); echo "Sleeping $t seconds"; sleep "$t"
- name: "Set `TIMESTAMP` environment variable"
shell: bash
run: |
Expand All @@ -134,18 +140,13 @@ jobs:
uses: actions/download-artifact@v4
with:
name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-${{ inputs.arch }}-${{ inputs.pkg-type }}
path: artifacts/pkg/
path: ./artifacts/pkg/

- name: Download Onedir Tarball as an Artifact
uses: actions/download-artifact@v4
with:
name: ${{ inputs.package-name }}-${{ inputs.salt-version }}-onedir-${{ inputs.platform }}-${{ inputs.arch }}.tar.xz
path: artifacts/

- name: Set up Python ${{ inputs.python-version }}
uses: actions/setup-python@v5
with:
python-version: "${{ inputs.python-version }}"
path: ./artifacts/

- name: Install Nox
run: |
Expand All @@ -162,7 +163,9 @@ jobs:
- name: List Packages
run: |
tree artifacts/pkg/
dir .
dir artifacts/
dir artifacts/pkg
- name: Download nox.windows.${{ inputs.arch }}.tar.* artifact for session ${{ inputs.nox-session }}
uses: actions/download-artifact@v4
Expand All @@ -173,8 +176,6 @@ jobs:
run: |
nox --force-color -e decompress-dependencies -- windows ${{ inputs.arch }}
- name: Rename salt directory
run: ren ./salt ./salt-bak
- name: Show System Info
env:
Expand Down

0 comments on commit bf2a633

Please sign in to comment.