File tree Expand file tree Collapse file tree 1 file changed +19
-17
lines changed
Expand file tree Collapse file tree 1 file changed +19
-17
lines changed Original file line number Diff line number Diff line change 11name : Pylint
22
33on :
4- push :
54 workflow_dispatch :
5+ inputs :
6+ deploy_dev :
7+ description : deploy to dev
8+ required : true
9+ default : true
10+ type : boolean
11+ deploy_st :
12+ description : deploy to st
13+ required : false
14+ default : false
15+ type : boolean
616
717jobs :
8- build :
18+ deploy_st :
919 runs-on : ubuntu-latest
1020 environment : st
11- strategy :
12- matrix :
13- python-version : ["3.8", "3.9", "3.10"]
1421 steps :
15- - uses : actions/checkout@v4
16- - name : Set up Python ${{ matrix.python-version }}
17- uses : actions/setup-python@v3
18- with :
19- python-version : ${{ matrix.python-version }}
20- - name : Install dependencies
21- run : |
22- python -m pip install --upgrade pip
23- pip install pylint
24- # - name: Analysing the code with pylint
25- # run: |
26- # pylint $(git ls-files '*.py')
22+ - run : echo "deploy_st: ${{ inputs.deploy_st }}"
23+ deploy_dev :
24+ runs-on : ubuntu-latest
25+ environment : dev
26+ steps :
27+ - run : echo "${{ inputs.deploy_dev }}"
28+
2729
You can’t perform that action at this time.
0 commit comments