Arquivo da categoria: GitHub

Get dynamically generated GitHub stats on your readmes!

Share and Enjoy !

0Shares
0 0

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

Create a tag in Git repository

Creating tags from the command line

To create a tag on your current branch, run this:

git tag <tagname>

This will create a local tag with the current state of the branch you are on. When pushing to your remote repo, tags are NOT included by default. You will need to explicitly say that you want to push your tags to your remote repo:

git push origin --tags

From the official Linux Kernel Git documentation for git push:

--tags

All refs under refs/tags are pushed, in addition to refspecs explicitly listed on the command line.

Or if you just want to push a single tag:

git push origin <tag>

See also my answer to Push a tag to a remote repository using Git? for more details about that syntax above.
https://stackoverflow.com/questions/18216991/create-a-tag-in-github-repository

Share and Enjoy !

0Shares
0


0