Skip to content

Commit

Permalink
inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus committed Dec 5, 2023
1 parent 7635ef6 commit b3cd3f4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/workflow-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ on:

jobs:
build:
runs-on: ${{ os }}
runs-on: ${{ inputs.os }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v2
with:
python-version: ${{ pyver }}
python-version: ${{ inputs.pyver }}
- name: Install dependencies
shell: bash
run: |
Expand All @@ -31,5 +31,5 @@ jobs:
python setup.py bdist_wheel
- uses: actions/upload-artifact@v3
with:
name: dist-${{ os }}-${{ pyver }}
name: dist-${{ inputs.os }}-${{ inputs.pyver }}
path: dist
8 changes: 4 additions & 4 deletions .github/workflows/workflow-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ on:

jobs:
pages:
runs-on: ${{ os }}
runs-on: ${{ inputs.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: ${{ pyver }}
python-version: ${{ inputs.pyver }}
- uses: actions/download-artifact@v3
with:
name: dist-${{ os }}-${{ pyver }}
name: dist-${{ inputs.os }}-${{ inputs.pyver }}
- uses: jannekem/run-python-script-action@v1
with:
script: |
Expand All @@ -35,5 +35,5 @@ jobs:
sphinx-build -b html docs/source public/master
- uses: actions/upload-artifact@v3
with:
name: public-${{ os }}-${{ pyver }}
name: public-${{ inputs.os }}-${{ inputs.pyver }}
path: public
4 changes: 2 additions & 2 deletions .github/workflows/workflow-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ on:

jobs:
test:
runs-on: ${{ os }}
runs-on: ${{ inputs.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
python-version: ${{ pyver }}
- uses: actions/download-artifact@v3
with:
name: dist-${{ os }}-${{ pyver }}
name: dist-${{ inputs.os }}-${{ inputs.pyver }}
- uses: jannekem/run-python-script-action@v1
with:
script: |
Expand Down

0 comments on commit b3cd3f4

Please sign in to comment.