build: add windows artifact, use nightly.link for download unstable build (#1113)

This commit is contained in:
Skylot 2021-02-06 12:43:49 +00:00
parent 5f1be38490
commit 712389ab24
2 changed files with 11 additions and 3 deletions

View File

@ -32,12 +32,20 @@ jobs:
with:
arguments: build dist --warning-mode=all
- name: Save artifacts
- name: Save bundle artifact
if: success() && github.event_name == 'push'
uses: actions/upload-artifact@v2
with:
name: ${{ format('jadx-{0}', env.JADX_VERSION) }}
# Waiting fix for https://github.com/actions/upload-artifact/issues/39 to upload zip and exe artifacts separately.
# Waiting fix for https://github.com/actions/upload-artifact/issues/39 to upload zip file
# Upload unpacked files for now
path: build/jadx/**/*
if-no-files-found: error
- name: Save exe artifact
if: success() && github.event_name == 'push'
uses: actions/upload-artifact@v2
with:
name: ${{ format('jadx-gui-{0}-no-jre-win.exe', env.JADX_VERSION) }}
path: build/*.exe
if-no-files-found: error

View File

@ -30,7 +30,7 @@ See these features in action here: [jadx-gui features overview](https://github.c
### Download
- release from [github: ![Latest release](https://img.shields.io/github/release/skylot/jadx.svg)](https://github.com/skylot/jadx/releases/latest)
- latest [unstable build](https://github.com/skylot/jadx/actions?query=workflow%3ABuild) (Latest build -> Artifacts)
- latest [unstable build](https://nightly.link/skylot/jadx/workflows/build/master)
After download unpack zip file go to `bin` directory and run:
- `jadx` - command line version