Sha256: 0dcaaa417b1183ad6d7c66332e5714c591ff152a8281a8e6442e2440d49c9051
Contents?: true
Size: 1.32 KB
Versions: 1
Compression:
Stored size: 1.32 KB
Contents
name: Debian on: push: tags: - "*" jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Set up Ruby 2.7 (debian ruby) uses: ruby/setup-ruby@v2 with: ruby-version: 2.7 - name: Install dependencies run: | sudo apt-get update DEBIAN_FRONTEND=noninteractive sudo apt-get --yes install gem2deb bundler ruby-{actionpack,awesome-print,http,minitest,minitest-reporters,oj,simplecov} rm Gemfile.lock || true bundle install --local sudo apt-file update - name: Build run: | bundle exec rake build mkdir debpkg cp pkg/media_types-*.gem media_types.gem #(cd debpkg; gem2tgz media_types.gem) #(cd debpkg; dh-make-ruby media_types-*.tar.gz) #(cd debpkg; dh-make-ruby media_types-*.tar.gz) (cd pkg; gem2deb media_types*.gem) mv pkg/ruby-media-types_*_all.deb ruby-media-types.deb - name: Upload gem uses: actions/upload-artifact@v1 with: name: media_types.gem path: media_types.gem - name: Upload deb uses: actions/upload-artifact@v1 with: name: ruby-media-types.deb path: ruby-media-types.deb
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
media_types-2.2.0 | .github/workflows/debian.yml |