Skip to content

Commit

Permalink
Fixed to allow releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
orizi authored and gilbens-starkware committed May 22, 2024
1 parent 94d4e0a commit 0fcaabe
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 115 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Crate Artifacts
on: workflow_dispatch

env:
OPENSSL_LIB_DIR: /usr/lib/x86_64-linux-gnu
OPENSSL_INCLUDE_DIR: /usr/include/openssl

jobs:
create_artifacts:
runs-on: ubuntu-latest
Expand All @@ -9,7 +14,7 @@ jobs:
with:
toolchain: stable
- name: Install musl tools.
run: sudo apt-get install -y musl-tools
run: sudo apt-get install -y musl-tools libssl-dev pkg-config openssl
- name: Build in unknown linux
run: ./scripts/release_tar.sh x86_64-unknown-linux-musl
- name: Archive artifacts
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
tags:
- "v*"
env:
OPENSSL_LIB_DIR: /usr/lib/x86_64-linux-gnu
OPENSSL_INCLUDE_DIR: /usr/include/openssl
OPENSSL_STATIC: 1

jobs:
release:
Expand All @@ -25,7 +29,7 @@ jobs:
run: |
if [ "${{ matrix.target }}" == "x86_64-unknown-linux-musl" ]
then
sudo apt-get install -y musl-tools
sudo apt-get install -y musl-tools libssl-dev pkg-config openssl
fi
- name: Build in ${{ matrix.target }}
run: ./scripts/release_tar.sh ${{ matrix.target }}
Expand Down
Loading

0 comments on commit 0fcaabe

Please sign in to comment.