Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match release-update-repos.yml to v7 #2713

Merged
merged 1 commit into from
Dec 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/release-update-repos.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: "Release: Update Repositories"
name: "Release: Update Repositories"
run-name: "Release: Update Repositories [${{ github.ref_name }}]"

on:
workflow_dispatch:
Expand Down Expand Up @@ -32,11 +33,11 @@ jobs:
steps:
- name: Set environment
id: set-secrets-environment
run: echo "::set-output name=secrets-environment::PROD"
run: echo "secrets-environment=PROD" >> "${GITHUB_OUTPUT}"

- name: Set CLAW URL
id: set-claw-url
run: echo "::set-output name=claw-url::https://packages.cloudfoundry.org"
run: echo "claw-url=https://packages.cloudfoundry.org" >> "${GITHUB_OUTPUT}"

- name: Checkout cli
uses: actions/checkout@v4
Expand All @@ -50,12 +51,12 @@ jobs:
VERSION_MINOR="${VERSION#*.}"
VERSION_MINOR="${VERSION_MINOR%.*}"

echo "::set-output name=version-build::${VERSION}"
echo "::set-output name=version-major::${VERSION%%\.*}"
echo "::set-output name=version-minor::${VERSION_MINOR}"
echo "::set-output name=version-patch::${VERSION##*.}"
echo "version-build=${VERSION}" >> "${GITHUB_OUTPUT}"
echo "version-major=${VERSION%%\.*}" >> "${GITHUB_OUTPUT}"
echo "version-minor=${VERSION_MINOR}" >> "${GITHUB_OUTPUT}"
echo "version-patch=${VERSION##*.}" >> "${GITHUB_OUTPUT}"

echo "VERSION_BUILD=${VERSION}" >> ${GITHUB_ENV}
echo "VERSION_BUILD=${VERSION}" >> "${GITHUB_ENV}"

- name: Test if CLAW serve this version
env:
Expand Down Expand Up @@ -258,7 +259,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
Expand Down Expand Up @@ -358,8 +358,8 @@ jobs:
CLAW_URL: ${{ needs.setup.outputs.claw-url }}
VERSION_BUILD: ${{ needs.setup.outputs.version-build }}
VERSION_MAJOR: ${{ needs.setup.outputs.version-major }}

steps:

- name: Setup
env:
ENVIRONMENT: ${{ github.event.inputs.environment }}
Expand Down Expand Up @@ -402,7 +402,7 @@ jobs:
gnupg
createrepo-c
awscli

- name: Setup aws to upload installers to CLAW S3 bucket
uses: aws-actions/configure-aws-credentials@v4
env:
Expand Down
Loading