-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (24 loc) · 925 Bytes
/
version2018.yml
File metadata and controls
30 lines (24 loc) · 925 Bytes
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
# This is a basic workflow to help you get started with Actions
name: versions:2018.0
on:
workflow_dispatch:
schedule:
# * is a special character in YAML so you have to quote this string 1:00 weekly,Thursday,1:00 #m h d/m m d/w
- cron: '17 3 * * 4'
jobs:
versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set ownership
run: |
# this is to fix GIT not liking owner of the checkout dir
chown -R $(id -u):$(id -g) $PWD
- name: run docker in docker
run: (docker container run --volume ./cre/versions:/cre/versions credocker/crepython:2018.0 /cre/update-versions.sh 2018)
- name: Submit changes
uses: EndBug/add-and-commit@v9
with:
# pull: '--rebase --autostash ...'
add: 'cre/versions/versions_2018.txt cre/versions/requirements_2018.txt'
tag_push: '--force'