mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
ci: wip fixing build binaries actions
This commit is contained in:
parent
7b9ca3b420
commit
66bc59892a
12
.github/workflows/build-release-binaries.yml
vendored
12
.github/workflows/build-release-binaries.yml
vendored
@ -80,11 +80,6 @@ jobs:
|
|||||||
if: matrix.target != 'armv7-unknown-linux-gnueabihf'
|
if: matrix.target != 'armv7-unknown-linux-gnueabihf'
|
||||||
run: target/${{ matrix.target }}/release/${{ matrix.bin }} --help
|
run: target/${{ matrix.target }}/release/${{ matrix.bin }} --help
|
||||||
|
|
||||||
# Remove once python 3 is the default
|
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: "3.x"
|
|
||||||
|
|
||||||
- id: create-archive-name
|
- id: create-archive-name
|
||||||
shell: python # Use python to have a prettier name for the archive on Windows.
|
shell: python # Use python to have a prettier name for the archive on Windows.
|
||||||
run: |
|
run: |
|
||||||
@ -98,10 +93,13 @@ jobs:
|
|||||||
|
|
||||||
archive_name=f'${{ matrix.bin }}_${{ github.event.release.tag_name }}_{os_info.system}_{arch}.${{ matrix.archive_ext }}'
|
archive_name=f'${{ matrix.bin }}_${{ github.event.release.tag_name }}_{os_info.system}_{arch}.${{ matrix.archive_ext }}'
|
||||||
|
|
||||||
print(f'::set-output name=archive::{archive_name}')
|
print(f'archive={archive_name} >> $GITHUB_OUTPUT')
|
||||||
|
|
||||||
|
- name: debug
|
||||||
|
run: tree ./target
|
||||||
|
|
||||||
- name: Pack macos archive
|
- name: Pack macos archive
|
||||||
if: matrix.os == 'macos-latest'
|
if: startsWith(matrix.os, 'macos')
|
||||||
shell: bash
|
shell: bash
|
||||||
run: gtar -C ./target/${{ matrix.target }}/release --create --file=${{ steps.create-archive-name.outputs.archive }} ${{ matrix.bin }}
|
run: gtar -C ./target/${{ matrix.target }}/release --create --file=${{ steps.create-archive-name.outputs.archive }} ${{ matrix.bin }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user