Skip to content

Commit

Permalink
update build-userguide
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Jan 6, 2025
1 parent 14256a7 commit 5863bff
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/build-userguide.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,20 @@ on:
push:
branches:
- release/*
- feature/*
- features/*
- fix/*
- issue-*
- doc/*
- dependabot/*
workflow_call:
inputs:
run-tests:
required: true
type: boolean
type: string
target_branch:
required: true
type: string

env:
IS_RELEASE: ${{ github.event_name == 'workflow_dispatch' }}
Expand All @@ -24,10 +32,12 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ inputs.target_branch}}

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.12

Expand All @@ -52,7 +62,7 @@ jobs:
echo "PDF_PATH_ASSET= [\"docs/pdf-doc-generation-with-sphinx/$PDF_NAME\"]" >> $GITHUB_ENV
- name: user guide upload
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pdf-reference-guide
path: ${{ env.PDF_PATH }}
Expand All @@ -65,4 +75,3 @@ jobs:
tag: ${{ github.event.inputs.release_tag }}
run: |
gh release upload "$tag" ${{ env.PDF_PATH }}

0 comments on commit 5863bff

Please sign in to comment.