Skip to content

Commit

Permalink
Publish artifacts to S3
Browse files Browse the repository at this point in the history
* add aws to flake.nix
* add "upload release to s3" step
  • Loading branch information
gilligan committed Nov 29, 2024
1 parent 9325e7a commit 8276c58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ jobs:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: ${{ env.AWS_DEFAULT_REGION }}

- name: Upload zip to S3
run: |
nix-shell --run "aws s3 cp offchain/build/release.zip s3://pcsc-bucket/${GITHUB_SHA}.zip --region $AWS_DEFAULT_REGION"
- name: Copy nix scopes to nix cache
run: |
nix build .#devShells.x86_64-linux.default --dry-run --json | jq -r '.[] | .drvPath + "^*"' \
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
#
# build tools
#
awscli2
bashInteractive
blst
cabal-install
Expand Down

0 comments on commit 8276c58

Please sign in to comment.