Sha256: 312b37c907944b9e7d0e9b574fa49a62ce2eaf60721d357c14dd3d086a8855e2

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

name: Debian

on:
  push:
    tags:
    - '*'


jobs:
  build:

    runs-on: ubuntu-18.04

    steps:
    - uses: actions/checkout@v1
    - 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

2 entries across 2 versions & 1 rubygems

Version Path
media_types-2.1.0 .github/workflows/debian.yml
media_types-2.0.1 .github/workflows/debian.yml