-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (42 loc) · 1.98 KB
/
eqsnQSrunner.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: eqsnQS
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a jobs
wdComplete:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/[email protected]
with:
# Version range or exact version of a Python version to use, using SemVer's version range syntax.
python-version: 3.9
# Used to specify a package manager for caching in the default directory. Supported values: pip, pipenv.
#cache: # optional
cache: 'pip'
# The target architecture (x86, x64) of the Python interpreter.
architecture: x64
# Used to pull python distributions from actions/python-versions. Since there's a default, this is typically not supplied by the user.
#token: # optional, default is ${{ github.token }}
# Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies.
#cache-dependency-path: # optional
#cache-dependency-path: wdComplete
cache-dependency-path: 'wdComplete/wdComplete-requirements.txt'
- run: pip install -r wdComplete/wdComplete-requirements.txt
- run: python wdComplete/wdComplete.py
- name: Commit to repo
run: |
git config --local user.name github-actions[bot]
git config --local user.email 41898282+github-actions[bot]@users.noreply.github.com
git add wdCompleteResult
git commit -m "Update Result wdComplete"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.ACCESS_TOKEN }}