2021-09-18 23:42:48 +02:00
2021-09-18 23:42:48 +02:00
2021-09-18 22:33:59 +02:00
2021-09-18 22:43:19 +02:00

get_submodule_hash

GitHub action to get the hash of a submodule

Example workflow

name: Getting the hash of the corelib submodule

on: push

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2

    - name: Get submodule hash
      id: get-submodule-hash
      uses: 0xFEEDC0DE64/get_submodule_hash@main
      with:
        submodule: libs/corelib

    - name: Print submodule hash
      run: echo "hash of submodule is ${{ steps.get-submodule-hash.outputs.hash }}"
Description
GitHub action to get the hash of a submodule
Readme GPL-3.0 48 KiB