-
Notifications
You must be signed in to change notification settings - Fork 31
40 lines (40 loc) · 1.01 KB
/
releaseDeck.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
name: releaseDeck
on:
workflow_dispatch:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
env:
PACK_NAME: ""
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11.0
cache: pip
architecture: x64
- name: Run
run: |
cd ./script/
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python releaseDeck.py
cd ..
- name: Upload
uses: actions/upload-artifact@v3
with:
name: Artifacts
path: ./target/deck/index.json
- name: Commit
uses: EndBug/add-and-commit@v9 # You can change this to use a specific version.
with:
add: '.'
author_name: Github CI
message: 'release deck index.json'
push: true
# remove: './deck/index.json'
# tag_push: '--force'