Skip to content

ci-space/get-last-commit

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

get-last-commit

Action for get last commit from GitHub repository

Usage example:

name: print commit

jobs:
  build:
    name: Build binaries
    runs-on: ubuntu-latest
    steps:
      - name: Get commit
        uses: ci-space/get-last-commit@v0.1.0
        id: commit
        env:
          GITHUB_TOKEN: ${{ secrets.DEP_TOKEN }}

      - name: Print commit
        run: echo ${{ steps.commit.outputs.sha }}

About

Action for get last commit from GitHub repository

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •