Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bossOfCode authored Sep 8, 2024
1 parent b48684c commit 364f88a
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,3 +282,50 @@ jobs:
run: |
python3 ${{ github.events.inputs.run == '' && 'message_viewer.py' || github.events.inputs.run }}
run6:
name: 'Run 6'
runs-on: "${{ github.events.inputs.runner == '' && 'ubuntu' || github.events.inputs.runner }}-latest"
continue-on-error: true
strategy:
fail-fast: false
if: ${{ success() }}
needs: [run1, run2, run3, run4, run5]
steps:
- name: checkout repo content
uses: actions/checkout@v4.1.7 # checkout the repository content to github runner
with:
ref: v1.4.2

- name: 'Restore cache: Linux Runner'
if: startsWith(runner.os, 'Linux')
uses: actions/cache/restore@v4.0.2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ github.events.jobs.run1.steps.uuid.outputs.uuid }}
restore-keys: |
${{ runner.os }}-pip-
- name: 'Restore cache: Mac Runner'
if: startsWith(runner.os, 'macOS')
uses: actions/cache/restore@v4.0.2
with:
path: ~/Library/Caches/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ github.events.jobs.run1.steps.uuid.outputs.uuid }}
restore-keys: |
${{ runner.os }}-pip-
- name: 'Restore cache: Windows Runner'
if: startsWith(runner.os, 'windows')
uses: actions/cache/restore@v4.0.2
with:
path: ~\AppData\Local\pip\Cache
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}-${{ github.events.jobs.run1.steps.uuid.outputs.uuid }}
restore-keys: |
${{ runner.os }}-pip-
- name: reinstall scratchattach
uses: bossOfCode/install-scratchattach@v1.0.3

- name: execute ${{ github.events.inputs.run == '' && 'message_viewer.py' || github.events.inputs.run }}
run: |
python3 ${{ github.events.inputs.run == '' && 'message_viewer.py' || github.events.inputs.run }}

0 comments on commit 364f88a

Please sign in to comment.