Skip to content

Commit

Permalink
Use ruby/setup-ruby instead of manual apt install
Browse files Browse the repository at this point in the history
  • Loading branch information
irismessage committed May 25, 2023
1 parent d3bd154 commit 310b20e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -78,7 +79,7 @@ jobs:
--maintainer "Rodney <[email protected]>"
--category python
--depends "python3 >= 3.9"
legendary
setup.py

- name: OS version
id: os_version
Expand Down

0 comments on commit 310b20e

Please sign in to comment.