File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 1010
1111jobs :
1212 fetch :
13- name : Fetch Version Info
13+ name : Fetch Latest Release
1414 runs-on : ubuntu-latest
1515 outputs :
16- stable_ver : ${{ steps.check_ver .outputs.stable_ver }}
16+ tag_name : ${{ steps.fetch-latest-release .outputs.tag_name }}
1717 steps :
18- - uses : mogeko/ latest-version@93e47a995b0d6f6ecad8103a20f8ae177337a85a
19- id : check_ver
18+ - uses : CityOfLosAngeles/fetch- latest-github-release@v2.0.3
19+ id : fetch-latest-release
2020 with :
21- repo : datalogic/scan2deploy-android
22-
21+ github_token : ${{ secrets.GITHUB_TOKEN }}
22+
2323 update-release :
24- name : Update Release Version File
24+ name : Update Relase Version File
2525 runs-on : ubuntu-latest
2626 needs : fetch
2727 steps :
3434 - uses : Radioh/action-content-overwrite@v1.0
3535 with :
3636 filePath : " ${{ github.workspace }}/version.txt"
37- content : ' ${{ needs.fetch.outputs.stable_ver }}'
37+ content : ' ${{ needs.fetch.outputs.tag_name }}'
3838
3939 - uses : xresloader/upload-to-github-release@v1
4040 env :
4545 overwrite : true
4646
4747 - name : Git Auto Commit
48- uses : stefanzweifel/git-auto-commit-action@v4.16 .0
48+ uses : stefanzweifel/git-auto-commit-action@v5.0 .0
4949 with :
50- branch : master
5150 file_pattern : ' *.txt'
You can’t perform that action at this time.
0 commit comments