Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use latest actions #3

Merged
merged 1 commit into from
Nov 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
lint_test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Lint with pycodestyle
Expand All @@ -21,9 +21,9 @@ jobs:
env:
DISPLAY: :99.0
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Make sdist
Expand All @@ -40,7 +40,7 @@ jobs:
python3 -m pip install wheel
python3 setup.py bdist_wheel --universal
- name: Upload wheels as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: wheels
path: dist
Expand All @@ -60,9 +60,9 @@ jobs:
env:
KIVY_GL_BACKEND: angle_sdl2
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
Expand All @@ -76,7 +76,7 @@ jobs:
cd packaging
python -m PyInstaller kivy_pong_demo_exe.spec
- name: Upload app as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: app
path: packaging/dist
Expand All @@ -95,9 +95,9 @@ jobs:
runs-on: macos-10.15
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Get Kivy dependencies
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
mkdir osx_app
cp ../kivy-sdk-packager/osx/PongDemo.dmg osx_app/
- name: Upload app as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: osx_app
path: osx_app
Expand All @@ -154,7 +154,7 @@ jobs:
android_app:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# used to cache dependencies with a timeout
- name: Get Date
id: get-date
Expand All @@ -163,12 +163,12 @@ jobs:
shell: bash

- name: Cache Buildozer global directory
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: .buildozer_global
key: buildozer-global-${{ hashFiles('packaging/buildozer.spec') }}

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: .buildozer
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ hashFiles('buildozer.spec') }}
Expand All @@ -182,7 +182,7 @@ jobs:
buildozer_version: master

- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: android_app
path: ${{ steps.buildozer.outputs.filename }}
Expand All @@ -198,9 +198,9 @@ jobs:
docs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
Expand Down
Loading