Arquivo da categoria: Git

Setup Ruby environment with ruby-build

Solução:

name: Example install of Ruby 2.6.5

on: push

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v1
    - uses: clupprich/ruby-build-action@master
      id: ruby
      with:
        ruby-version: 2.6.5
    - name: Print version
      run: ${{ steps.ruby.outputs.ruby-path }} --version
https://github.com/marketplace/actions/setup-ruby-environment-with-ruby-build

Share and Enjoy !

0Shares
0 0 0

Show the current git commit hash as /version in your rails app

Share and Enjoy !

0Shares
0 0 0