Skip to content

Commit

Permalink
list files
Browse files Browse the repository at this point in the history
  • Loading branch information
lassemand committed Nov 5, 2024
1 parent fde4bc7 commit ba7c6b3
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ env:
CABAL_VERSION: '3.6.2.0'
SERVICE: "${{ inputs.service }}"
VERSION_TEST: '7.0.1-1-rc'
PROTOC_VERSION: '25.2'
FLATBUFFERS_VERSION: '23.5.26'

permissions:
id-token: write
Expand Down Expand Up @@ -119,7 +121,7 @@ jobs:
context: .
push: false
file: scripts/distributables/linux-distributable-concordium-client.Dockerfile
tags: concordium/linux-distributable-concordium-client
tags: ${{ github.job }}:${{ github.run_id }}
no-cache: true
build-args: |
GHC_VERSION=${{ env.GHC_VERSION }}
Expand All @@ -131,13 +133,14 @@ jobs:
ghc_version=${{ env.GHC_VERSION }}
- name: Create container and Extract Artifact
run: |
id=$(docker create concordium/linux-distributable-concordium-client)
id=$(docker create ${{ github.job }}:${{ github.run_id }})
docker cp $id:/out/concordium-client .
- name: Publish
run: |
OUTFILE=$(echo '${{ needs.validate-preconditions.outputs.s3_arns }}' | jq -r '.["${{ github.job }}"]')
echo $OUTFILE
# aws s3 cp "${{ github.job }}_${{ needs.validate-preconditions.outputs.version }}.deb" \
ls
# aws s3 cp "concordium-client" \
# "$OUTFILE" --grants=read=uri=http://acs.amazonaws.com/groups/global/AllUsers

client-macos:
Expand All @@ -161,6 +164,19 @@ jobs:
enable-stack: true
stack-version: ${{ env.STACK_VERSION }}

- name: Install flatbuffers
run: |
wget https://github.com/google/flatbuffers/releases/download/v${{ env.FLATBUFFERS_VERSION }}/MacIntel.flatc.binary.zip -O MacIntel.flatc.binary.zip
unzip MacIntel.flatc.binary.zip -d flatbuffers
sudo mv flatbuffers/flatc /usr/local/bin/
- name: Install protobuf
run: |
curl -L -o protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v${{ env.PROTOC_VERSION }}/protoc-${{ env.PROTOC_VERSION }}-osx-x86_64.zip
unzip protoc.zip
sudo mv bin/protoc /usr/local/bin/
sudo mv include/* /usr/local/include/
- name: Build
run: |
scripts/distributables/macOS-package/build.sh --build "${{ needs.validate-preconditions.outputs.version }}"
Expand Down

0 comments on commit ba7c6b3

Please sign in to comment.