From 5c98a167dbce82e93293918fde2b00475c835255 Mon Sep 17 00:00:00 2001 From: "Michael J. Manley" Date: Thu, 2 Nov 2023 11:03:30 -0700 Subject: [PATCH] Adding CDN Uploading of Artifacts --- .github/workflows/create-release.yml | 11 +++++++++++ .github/workflows/test-debug-builds.yml | 11 +++++++++++ .github/workflows/test-release-builds.yml | 11 +++++++++++ .github/workflows/test-relwithdebinfo-builds.yml | 11 +++++++++++ 4 files changed, 44 insertions(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index cff855ac..3dbba03e 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -158,3 +158,14 @@ jobs: with: name: ${{ matrix.artifacts_name }} path: ./dist/${{ matrix.artifacts_path }} + + - name: Upload to NasuTek MinIO S3 + uses: shallwefootball/s3-upload-action@master + id: S3 + with: + aws_key_id: ${{secrets.nte_cdn_s3_key_id}} + aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}} + aws_bucket: bucketName + source_dir: ./dist/${{ matrix.artifacts_path }} + destination_dir: ${{ matrix.artifacts_name }} + endpoint: cdn.ntgecdn.com diff --git a/.github/workflows/test-debug-builds.yml b/.github/workflows/test-debug-builds.yml index efc3eca1..e5150dfc 100644 --- a/.github/workflows/test-debug-builds.yml +++ b/.github/workflows/test-debug-builds.yml @@ -155,3 +155,14 @@ jobs: with: name: ${{ matrix.artifacts_name }} path: ./dist/${{ matrix.artifacts_path }} + + - name: Upload to NasuTek MinIO S3 + uses: shallwefootball/s3-upload-action@master + id: S3 + with: + aws_key_id: ${{secrets.nte_cdn_s3_key_id}} + aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}} + aws_bucket: bucketName + source_dir: ./dist/${{ matrix.artifacts_path }} + destination_dir: ${{ matrix.artifacts_name }} + endpoint: cdn.ntgecdn.com diff --git a/.github/workflows/test-release-builds.yml b/.github/workflows/test-release-builds.yml index e36cd73d..b6c594cd 100644 --- a/.github/workflows/test-release-builds.yml +++ b/.github/workflows/test-release-builds.yml @@ -155,3 +155,14 @@ jobs: with: name: ${{ matrix.artifacts_name }} path: ./dist/${{ matrix.artifacts_path }} + + - name: Upload to NasuTek MinIO S3 + uses: shallwefootball/s3-upload-action@master + id: S3 + with: + aws_key_id: ${{secrets.nte_cdn_s3_key_id}} + aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}} + aws_bucket: bucketName + source_dir: ./dist/${{ matrix.artifacts_path }} + destination_dir: ${{ matrix.artifacts_name }} + endpoint: cdn.ntgecdn.com diff --git a/.github/workflows/test-relwithdebinfo-builds.yml b/.github/workflows/test-relwithdebinfo-builds.yml index 4e3070db..613a7d7c 100644 --- a/.github/workflows/test-relwithdebinfo-builds.yml +++ b/.github/workflows/test-relwithdebinfo-builds.yml @@ -155,3 +155,14 @@ jobs: with: name: ${{ matrix.artifacts_name }} path: ./dist/${{ matrix.artifacts_path }} + + - name: Upload to NasuTek MinIO S3 + uses: shallwefootball/s3-upload-action@master + id: S3 + with: + aws_key_id: ${{secrets.nte_cdn_s3_key_id}} + aws_secret_access_key: ${{secrets.nte_cdn_s3_secret_access_key}} + aws_bucket: bucketName + source_dir: ./dist/${{ matrix.artifacts_path }} + destination_dir: ${{ matrix.artifacts_name }} + endpoint: cdn.ntgecdn.com