From d82692b617b48467d5d72f186ff9d947ce4c255c Mon Sep 17 00:00:00 2001 From: aboyko Date: Tue, 7 Nov 2023 18:42:30 -0500 Subject: [PATCH] GHA: test upload to akamai. Use different osx runner with Python 3.11 to install appdmg --- .github/workflows/akamai-test.yml | 19 +++++++++++++++++++ .../gh-hosted-eclipse-distro-build.yml | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/akamai-test.yml diff --git a/.github/workflows/akamai-test.yml b/.github/workflows/akamai-test.yml new file mode 100644 index 000000000..6d45c9039 --- /dev/null +++ b/.github/workflows/akamai-test.yml @@ -0,0 +1,19 @@ +name: Test Akamai Upload + +on: + workflow_dispatch: + +jobs: + akamai-upload: + name: Upload to Akamai + runs-on: ubuntu-latest + steps: + env: + AWS_ACCESS_KEY_ID: ${{ secrets.TOOLS_S3_ACCESS_KEY }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.TOOLS_S3_SECRET_KEY }} + AWS_DEFAULT_REGION: us-east-1 + run: | + file="upload-test.txt" + echo 'Upload test file' > $file + cat $file + aws s3 mv ./$file s3://tools-spring-io/test-akamai/$file --acl public-read --no-progress diff --git a/.github/workflows/gh-hosted-eclipse-distro-build.yml b/.github/workflows/gh-hosted-eclipse-distro-build.yml index a13955c37..36b9e8ff6 100644 --- a/.github/workflows/gh-hosted-eclipse-distro-build.yml +++ b/.github/workflows/gh-hosted-eclipse-distro-build.yml @@ -196,7 +196,7 @@ jobs: sign-osx-distros: needs: [ eclipse-distro-build ] - runs-on: macos-latest-xl + runs-on: macos-13-xl steps: - uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 with: