mirror of
https://github.com/AppleCommander/AppleCommander.git
synced 2026-10-24 23:02:27 +00:00
Creating draft release and uploading all files on tag.
This commit is contained in:
1 parent
01e734ad8c
commit
16005686bf
1 file changed
+24
@@ -7,6 +7,10 @@ on:
|
||||
- '*'
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build-java:
|
||||
@@ -253,3 +257,23 @@ jobs:
|
||||
name: acx-${{ matrix.os }}-${{ matrix.arch }}
|
||||
path: app/cli-acx/build/native/nativeCompile/acx-*
|
||||
archive: false
|
||||
|
||||
release:
|
||||
name: Create draft release
|
||||
if: github.ref_type == 'tag'
|
||||
needs: [build-java, build-jpackage, build-native]
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/download-artifact@v8
|
||||
with:
|
||||
merge-multiple: true
|
||||
- uses: softprops/action-gh-release@v3
|
||||
with:
|
||||
draft: true
|
||||
generate_release_notes: true
|
||||
files: |
|
||||
ac-*
|
||||
acx-*
|
||||
AppleCommander-*
|
||||
Reference in new issue
Block a user