Sha256: 14f938489ba314486a923459899737c7e640ef8be00b24b6a603c47f72274a75
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 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@v1 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.3.0 | .github/workflows/debian.yml |