mirror of
https://github.com/TomWright/dasel.git
synced 2022-05-22 02:32:45 +03:00
Include gzip compressed binaries on releases
This commit is contained in:
9
.github/workflows/build.yaml
vendored
9
.github/workflows/build.yaml
vendored
@@ -84,6 +84,8 @@ jobs:
|
||||
- name: Test version
|
||||
if: matrix.test_version == true
|
||||
run: ./target/release/${{ matrix.artifact_name }} --version
|
||||
- name: Gzip binaries
|
||||
run: gzip -c ./target/release/${{ matrix.artifact_name }} > ./target/release/${{ matrix.artifact_name }}.gz
|
||||
- name: Upload binaries to release
|
||||
uses: svenstaro/upload-release-action@v1-release
|
||||
with:
|
||||
@@ -91,6 +93,13 @@ jobs:
|
||||
file: target/release/${{ matrix.artifact_name }}
|
||||
asset_name: ${{ matrix.asset_name }}
|
||||
tag: ${{ github.ref }}
|
||||
- name: Upload gzip binaries to release
|
||||
uses: svenstaro/upload-release-action@v1-release
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: target/release/${{ matrix.artifact_name }}.gz
|
||||
asset_name: ${{ matrix.asset_name }}.gz
|
||||
tag: ${{ github.ref }}
|
||||
- name: Build docker image
|
||||
if: matrix.build_docker == true
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user