Add support for updating a workflow execution #133
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check that version is updated | |
on: | |
pull_request: | |
branches: [ master ] | |
jobs: | |
CheckVersionAndReleaseNote: | |
timeout-minutes: 5 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Fetch repo | |
run: git fetch | |
- name: Version check | |
run: | | |
if [ -z $(git diff origin/master HEAD -- Lucidtech/Lucidtech.csproj | grep PackageVersion)] | |
then | |
echo "You should probably update version number" | |
exit 1 | |
fi |