Skip to content

Commit

Permalink
add release branch to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rasswanth-s committed Jul 23, 2024
1 parent 9b2a993 commit 7273785
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cd-feature-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
required: true
type: string

release_branch:
description: "Branch to Release from"
required: true
type: string

release_id:
description: "A Unique Identifier for the Release, which would be appended as version+release_id, Can contain only [A-Z][a-z][0-9][.]"
required: true
Expand Down Expand Up @@ -43,6 +48,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.release_branch }}

# actions/setup-python doesn't yet support ARM
- name: Setup Python on x64
Expand Down Expand Up @@ -287,6 +294,7 @@ jobs:
- uses: actions/checkout@v4
with:
token: ${{ secrets.SYFT_BOT_COMMIT_TOKEN }}
ref: ${{ github.event.inputs.release_branch }}

# free 10GB of space
- name: Remove unnecessary files
Expand Down

0 comments on commit 7273785

Please sign in to comment.