Sha256: 3b47eae020c90b1fda83c1ae363ac002dde090ea07dcc5216686f38bc5dfb9fd
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 KB
Contents
name: CI # actions ref: https://github.com/fac/ruby-gem-push-action # https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby on: push: branches: - main pull_request: jobs: # build: # runs-on: ubuntu-latest # steps: # (your tests go here) release: name: Gem / Release # needs: test # Only release IF the tests pass runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1.111.0 with: ruby-version: '3.1.2' # Not needed with a .ruby-version file bundler-cache: true # runs 'bundle install' and caches installed gems automatically - uses: fac/ruby-gem-setup-credentials-action@v2 with: token: ${{ secrets.GH_TOKEN }} - name: Build Gem # run: bundle exec rake build run: gem build # Release production gem version from default branch - name: Release Gem if: github.ref == 'refs/heads/main' uses: fac/ruby-gem-push-action@v2 with: gem-glob: '*.gem' key: github # PR branch builds will release pre-release gems # - name: Pre-Release Gem # if: github.ref != 'refs/heads/main' # uses: fac/ruby-gem-push-action@v2 # with: # key: github # pre-release: true
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
solidus_bactracs-4.0.1 | .github/workflows/release.yml |