mirror of
https://github.com/nushell/nushell
synced 2024-11-16 17:57:57 +00:00
added upx and strip to mac and windows (#4126)
This commit is contained in:
parent
b26246bf12
commit
6c0190cd38
1 changed files with 169 additions and 4 deletions
173
.github/workflows/release.yml
vendored
173
.github/workflows/release.yml
vendored
|
@ -29,8 +29,6 @@ jobs:
|
|||
command: build
|
||||
args: --release --all --features=extra
|
||||
|
||||
#- name: Strip release binary (linux)
|
||||
# run: strip "target/release/nu*"
|
||||
- name: Compress binaries (nu)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
|
@ -158,8 +156,90 @@ jobs:
|
|||
command: build
|
||||
args: --release --all --features=extra
|
||||
|
||||
- name: Strip release binary (macos)
|
||||
run: strip "target/release/nu*"
|
||||
- name: Compress binaries (nu)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu
|
||||
|
||||
- name: Compress binaries (nu_plugin_inc)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_inc
|
||||
|
||||
- name: Compress binaries (nu_plugin_match)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_match
|
||||
|
||||
- name: Compress binaries (nu_plugin_textview)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_textview
|
||||
|
||||
- name: Compress binaries (nu_plugin_binaryview)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_binaryview
|
||||
|
||||
- name: Compress binaries (nu_plugin_chart_bar)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_chart_bar
|
||||
|
||||
- name: Compress binaries (nu_plugin_chart_line)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_chart_line
|
||||
|
||||
- name: Compress binaries (nu_plugin_from_bson)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_from_bson
|
||||
|
||||
- name: Compress binaries (nu_plugin_from_sqlite)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_from_sqlite
|
||||
|
||||
- name: Compress binaries (nu_plugin_query_json)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_query_json
|
||||
|
||||
- name: Compress binaries (nu_plugin_s3)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_s3
|
||||
|
||||
- name: Compress binaries (nu_plugin_selector)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_selector
|
||||
|
||||
- name: Compress binaries (nu_plugin_start)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_start
|
||||
|
||||
- name: Compress binaries (nu_plugin_to_bson)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_to_bson
|
||||
|
||||
- name: Compress binaries (nu_plugin_to_sqlite)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_to_sqlite
|
||||
|
||||
- name: Compress binaries (nu_plugin_tree)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_tree
|
||||
|
||||
- name: Compress binaries (nu_plugin_xpath)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_xpath
|
||||
|
||||
- name: Create output directory
|
||||
run: mkdir output
|
||||
|
@ -205,6 +285,91 @@ jobs:
|
|||
command: build
|
||||
args: --release --all --features=extra
|
||||
|
||||
- name: Compress binaries (nu.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_inc.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_inc.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_match.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_match.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_textview.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_textview.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_binaryview.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_binaryview.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_chart_bar.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_chart_bar.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_chart_line.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_chart_line.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_from_bson.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_from_bson.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_from_sqlite.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_from_sqlite.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_query_json.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_query_json.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_s3.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_s3.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_selector.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_selector.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_start.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_start.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_to_bson.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_to_bson.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_to_sqlite.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_to_sqlite.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_tree.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_tree.exe
|
||||
|
||||
- name: Compress binaries (nu_plugin_xpath.exe)
|
||||
uses: svenstaro/upx-action@v2
|
||||
with:
|
||||
file: target/release/nu_plugin_xpath.exe
|
||||
|
||||
- name: Create output directory
|
||||
run: mkdir output
|
||||
|
||||
|
|
Loading…
Reference in a new issue