Upload tags to S3 as well to avoid egress limits (#187)
* Upload tags to S3 as well to avoid egress limits * Refine * Fixes from Cole
This commit is contained in:
parent
cf178bb0ef
commit
797ceb86a9
12
.github/workflows/release-tags.yml
vendored
12
.github/workflows/release-tags.yml
vendored
|
@ -21,7 +21,17 @@ jobs:
|
||||||
- name: Fixup URL in nix-installer.sh
|
- name: Fixup URL in nix-installer.sh
|
||||||
run: |
|
run: |
|
||||||
sed -i "s@https://install.determinate.systems/nix@https://install.determinate.systems/nix/tag/$GITHUB_REF_NAME@" nix-installer.sh
|
sed -i "s@https://install.determinate.systems/nix@https://install.determinate.systems/nix/tag/$GITHUB_REF_NAME@" nix-installer.sh
|
||||||
- name: Publish Release (Tag)
|
- name: Configure AWS Credentials
|
||||||
|
uses: aws-actions/configure-aws-credentials@v1
|
||||||
|
with:
|
||||||
|
role-to-assume: ${{ secrets.AWS_S3_UPLOAD_ROLE }}
|
||||||
|
aws-region: us-east-2
|
||||||
|
- name: Publish Release to S3 (Tag)
|
||||||
|
env:
|
||||||
|
AWS_BUCKET: ${{ secrets.AWS_S3_UPLOAD_BUCKET }}
|
||||||
|
run: |
|
||||||
|
./upload_s3.sh "$GITHUB_REF_NAME" "$GITHUB_SHA"
|
||||||
|
- name: Publish Release to GitHub (Tag)
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
fail_on_unmatched_files: true
|
fail_on_unmatched_files: true
|
||||||
|
|
Loading…
Reference in a new issue