Skip to content

Commit 5ccac6d

Browse files
authored
Update Github Action workflow (#4)
1 parent 98e4d47 commit 5ccac6d

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

.github/workflows/pythonapp.yml

+13-14
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ jobs:
55
lint_test:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@v1
8+
- uses: actions/checkout@v4
99
- name: Set up Python 3.x
10-
uses: actions/setup-python@v1
10+
uses: actions/setup-python@v5
1111
with:
1212
python-version: 3.x
1313
- name: Install dependencies
@@ -23,28 +23,27 @@ jobs:
2323
env:
2424
DISPLAY: :99.0
2525
steps:
26-
- uses: actions/checkout@v1
26+
- uses: actions/checkout@v4
2727
- name: Set up Python 3.x
28-
uses: actions/setup-python@v1
28+
uses: actions/setup-python@v5
2929
with:
3030
python-version: 3.x
31-
- name: Make sdist
32-
run: python3 setup.py sdist --formats=gztar
3331
- name: Install dependencies
3432
run: |
3533
sudo apt update
36-
sudo apt -y install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev
37-
sudo apt-get -y install python3-setuptools build-essential libgl1-mesa-dev libgles2-mesa-dev
34+
sudo apt-get -y install build-essential libgl1-mesa-dev libgles2-mesa-dev
3835
/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1280x720x24 -ac +extension GLX
3936
4037
python3 -m pip install --upgrade pip virtualenv wheel setuptools
4138
python3 -m pip install kivy[base] --pre --extra-index-url https://kivy.org/downloads/simple/
39+
- name: Make sdist
40+
run: python3 setup.py sdist --formats=gztar
4241
- name: Install flower
4342
run: python3 -m pip install -e .[dev,ci] --extra-index-url https://kivy-garden.github.io/simple/
4443
- name: Make wheel
4544
run: python3 setup.py bdist_wheel --universal
4645
- name: Upload wheels as artifact
47-
uses: actions/upload-artifact@master
46+
uses: actions/upload-artifact@v4
4847
with:
4948
name: wheels
5049
path: dist
@@ -66,9 +65,9 @@ jobs:
6665
env:
6766
KIVY_GL_BACKEND: angle_sdl2
6867
steps:
69-
- uses: actions/checkout@v1
68+
- uses: actions/checkout@v4
7069
- name: Set up Python 3.x
71-
uses: actions/setup-python@v1
70+
uses: actions/setup-python@v5
7271
with:
7372
python-version: 3.x
7473
- name: Install dependencies
@@ -85,9 +84,9 @@ jobs:
8584
docs:
8685
runs-on: ubuntu-latest
8786
steps:
88-
- uses: actions/checkout@v1
87+
- uses: actions/checkout@v4
8988
- name: Set up Python 3.x
90-
uses: actions/setup-python@v1
89+
uses: actions/setup-python@v5
9190
with:
9291
python-version: 3.x
9392
- name: Install dependencies
@@ -103,7 +102,7 @@ jobs:
103102
cd doc
104103
make html
105104
- name: Upload docs as artifact
106-
uses: actions/upload-artifact@master
105+
uses: actions/upload-artifact@v4
107106
with:
108107
name: docs
109108
path: doc/build/html

0 commit comments

Comments
 (0)