Skip to content

Commit

Permalink
Fix release workflow (#2753)
Browse files Browse the repository at this point in the history
* revert build-dev

* revert make.sh

* revert to current ver

* add docker-release win-x64

* docker-release for wins
  • Loading branch information
canonbrother authored Dec 19, 2023
1 parent 1559121 commit 0c2ee18
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/build-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,33 @@ env:
GIT_VERSION: 1

jobs:
win-x64:
runs-on: ubuntu-latest
env:
TARGET: x86_64-w64-mingw32

steps:
- uses: actions/checkout@v3

- name: Populate environment
run: ./make.sh ci-export-vars

- name: Build and package
run: ./make.sh docker-release

- name: Publish artifact - x86_64-w64-mingw32
uses: actions/upload-artifact@v3
with:
name: defichain-${{ env.BUILD_VERSION }}-${{ env.TARGET }}
path: ./build/defichain-${{ env.BUILD_VERSION }}-${{ env.TARGET }}.${{ env.PKG_TYPE }}

build:
runs-on: ubuntu-latest
container: defi/ain-builder:latest
strategy:
matrix:
target: [x86_64-pc-linux-gnu, x86_64-w64-mingw32, x86_64-apple-darwin]
# target: [x86_64-pc-linux-gnu, x86_64-w64-mingw32, x86_64-apple-darwin]
target: [x86_64-pc-linux-gnu, x86_64-apple-darwin]
env:
TARGET: ${{matrix.target}}

Expand Down

0 comments on commit 0c2ee18

Please sign in to comment.