From 310b20e733162b15946897695c4eff1ae3e5f096 Mon Sep 17 00:00:00 2001 From: jmcb Date: Thu, 25 May 2023 19:13:22 +0100 Subject: [PATCH] Use ruby/setup-ruby instead of manual apt install --- .github/workflows/python.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 5e0d9a9..dc71b38 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -63,11 +63,12 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Dependencies - run: | - apt-get update - apt-get install --yes ruby - gem install fpm + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.0' + + - name: Install fpm + run: gem install fpm - name: Build run: fpm @@ -78,7 +79,7 @@ jobs: --maintainer "Rodney " --category python --depends "python3 >= 3.9" - legendary + setup.py - name: OS version id: os_version