Use ruby/setup-ruby instead of manual apt install

This commit is contained in:
jmcb 2023-05-25 19:13:22 +01:00
parent d3bd154715
commit 310b20e733
No known key found for this signature in database
GPG key ID: 1E2547388CAD1A65

View file

@ -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 <rodney@rodney.io>"
--category python
--depends "python3 >= 3.9"
legendary
setup.py
- name: OS version
id: os_version