Skip to content

Commit

Permalink
complete test
Browse files Browse the repository at this point in the history
  • Loading branch information
oksana-grishchenko committed Dec 5, 2024
1 parent c72c973 commit 9366687
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/feature-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ on:
required: false
description: "Prerequisites for k8s version to add to the VS"
default: ">= 1.27"
artifacts_retention_days:
required: false
description: "How many days the artifacts will be stored in GitHub"
default: 30
push:
branches:
- early-adoption-test
Expand All @@ -65,7 +69,7 @@ jobs:

env:
TOOLS_PATH: "/opt/tools/bin"
ARTIFACTS_RETENTION_DAYS: 30
ARTIFACTS_RETENTION_DAYS: ${{ github.event.inputs.artifacts_retention_days }}

VS_BRANCH: ${{ github.event.inputs.vs_branch }}
HELM_BRANCH: ${{ github.event.inputs.helm_branch }}
Expand Down Expand Up @@ -419,13 +423,24 @@ jobs:
- name: Create vs_tag file
run: |
echo "$VS_TAG" > vs_tag.txt
echo "$VERSION" > fb.txt
- name: Upload version info artefact
- name: Upload VS tag info artefact
uses: actions/upload-artifact@v4
id: vs_file
with:
name: vs_tag.txt
path: ./vs_tag.txt
retention-days: ${{ env.ARTIFACTS_RETENTION_DAYS }}


- name: Upload FB info artefact
uses: actions/upload-artifact@v4
id: fb_file
with:
name: fb.txt
path: ./fb.txt
retention-days: ${{ env.ARTIFACTS_RETENTION_DAYS }}

- name: Info
run: |
Expand Down

0 comments on commit 9366687

Please sign in to comment.