File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 1010 - uses : flucoma/actions/env@main
1111 - uses : flucoma/actions/max@main
1212 with :
13- branch : origin/production
13+ branch : origin/${{ github.ref_name }}
1414
1515 - uses : actions/upload-artifact@v3
1616 with :
2626 - uses : flucoma/actions/env@main
2727 - uses : flucoma/actions/max@main
2828 with :
29- branch : origin/production
29+ branch : origin/${{ github.ref_name }}
3030
3131 - name : sign and notarise
3232 uses : flucoma/actions/distribution@main
4646 path : release-packaging/FluidCorpusManipulation/
4747
4848 - id : get-version
49- run : echo "::set-output name= version:: $(cat flucoma.version.rc)"
49+ run : echo "version= $(cat flucoma.version.rc)" >> $GITHUB_OUTPUT
5050 working-directory : build/_deps/flucoma-core-src
5151
5252 release :
6969
7070 - name : zip
7171 run : zip -r FluCoMa-Max-"${{ needs.macbuild.outputs.version }}".zip "FluidCorpusManipulation"
72+
73+ - name : delete pre-existing release
74+ uses :
dev-drprasad/[email protected] 75+ with :
76+ delete_release : true # default: false
77+ tag_name : ${{ needs.macbuild.outputs.version }} # tag name to delete
78+ env :
79+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7280
7381 - name : package and upload
7482 uses : softprops/action-gh-release@v1
7886 files : FluCoMa*
7987 prerelease : true
8088 tag_name : ${{ needs.macbuild.outputs.version }}
89+ target_commitish : ${{ github.sha }}
8190 draft : false
You can’t perform that action at this time.
0 commit comments