mirror of
https://github.com/NohamR/MasterPDFEditor-patch.git
synced 2026-11-25 15:19:58 +00:00
Update build.yml
This commit is contained in:
1 parent
7ca09aa9ba
commit
6f17ab65d3
1 file changed
+20
-1
@@ -22,4 +22,23 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: MasterPDFEditor.dylib
|
name: MasterPDFEditor.dylib
|
||||||
path: MasterPDFEditor.dylib
|
path: MasterPDFEditor.dylib
|
||||||
|
|
||||||
|
release:
|
||||||
|
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: MasterPDFEditor.dylib
|
||||||
|
|
||||||
|
- uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
tag_name: build-${{ github.run_number }}
|
||||||
|
name: Build #${{ github.run_number }}
|
||||||
|
draft: true
|
||||||
|
files: MasterPDFEditor.dylib
|
||||||
|
generate_release_notes: false
|
||||||
Reference in new issue
Block a user