File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 uses : docker/setup-buildx-action@v2
4848 with :
4949 install : true
50+ platforms : linux/amd64,linux/arm64
5051
5152 - name : Log in to the registry
5253 uses : docker/login-action@v1
Original file line number Diff line number Diff line change 1212 ACTIONS_ALLOW_UNSECURE_COMMANDS : true
1313 steps :
1414 - uses : actions/checkout@master
15+ - uses : dorny/paths-filter@v2
16+ id : filter
17+ with :
18+ filters : |
19+ changelog:
20+ - 'CHANGELOG.md'
1521 - name : Set env
16- run : echo ::set-env name= RELEASE_VERSION:: ${GITHUB_REF#refs/*/}
22+ run : echo " RELEASE_VERSION= ${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
1723 - name : telegram notification
24+ if : steps.filter.outputs.changelog == 'true'
1825 uses : appleboy/telegram-action@master
1926 with :
2027 to : ${{ secrets.TELEGRAM_TO }}
2330 Pytezos ${{ env.RELEASE_VERSION }} has been released 🎉
2431 More info at https://github.com/baking-bad/pytezos/releases/tag/${{ env.RELEASE_VERSION }}
2532 - name : slack notification
33+ if : steps.filter.outputs.changelog == 'true'
2634 uses : Ilshidur/action-slack@master
2735 env :
2836 SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111 steps :
1212 - name : Set env
13- run : echo ::set-env name= RELEASE_VERSION:: ${GITHUB_REF#refs/*/}
13+ run : echo " RELEASE_VERSION= ${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
1414
1515 - name : Check out the repo
1616 uses : actions/checkout@v3
You can’t perform that action at this time.
0 commit comments