File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 6
6
resources :
7
7
name : Update __init__.py patch version
8
8
runs-on : ubuntu-latest
9
- permissions :
10
- contents : write
11
9
steps :
12
10
- uses : actions/checkout@v3
13
11
- uses : actions/setup-python@v4
27
25
file-path : pyopenms_viz/__init__.py
28
26
commit-msg : Bump patch version
29
27
github-token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
30
- - name : Install GitHub CLI
31
- run : |
32
- type -p curl >/dev/null || (sudo apt update && sudo apt install curl -y)
33
- curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg \
34
- && sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg \
35
- && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
36
- && sudo apt update \
37
- && sudo apt install gh -y
38
- - name : Authenticate GitHub CLI
39
- run : echo "${{ secrets.PERSONAL_ACCESS_TOKEN }}" | gh auth login --with-token
40
28
- name : Create new patch release
41
29
run : python .github/workflows/scripts/release.py
42
30
env :
You can’t perform that action at this time.
0 commit comments