Skip to content

Commit

Permalink
artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
grzuy committed Oct 26, 2023
1 parent a4698f1 commit 893d5ec
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,20 @@ jobs:
- uses: actions/checkout@v4
- run: rustup target add ${{ matrix.job.target }}
- run: echo "PROJECT_VERSION=$(sed -n 's/^ @version "\(.*\)"/\1/p' mix.exs | head -n1)" >> $GITHUB_ENV

- uses: philss/[email protected]
id: precompile
with:
project-dir: "native/candlex"
project-name: candlex
project-version: ${{ PROJECT_VERSION }}
target: ${{ matrix.job.target }}
nif-version: ${{ matrix.nif_version }}
# use-cross: false doesn't work
# I think because of https://github.com/actions/runner/issues/1173
use-cross: null

- uses: actions/upload-artifact@v3
with:
name: ${{ steps.precompile.outputs.file-name }}
path: ${{ steps.precompile.outputs.file-path }}

0 comments on commit 893d5ec

Please sign in to comment.