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: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Dependencies - uses: ruby/setup-ruby@v1
run: | with:
apt-get update ruby-version: '3.0'
apt-get install --yes ruby
gem install fpm - name: Install fpm
run: gem install fpm
- name: Build - name: Build
run: fpm run: fpm
@ -78,7 +79,7 @@ jobs:
--maintainer "Rodney <rodney@rodney.io>" --maintainer "Rodney <rodney@rodney.io>"
--category python --category python
--depends "python3 >= 3.9" --depends "python3 >= 3.9"
legendary setup.py
- name: OS version - name: OS version
id: os_version id: os_version