Skip to content

Commit

Permalink
Use actions/upload-artifact and actions/download-artifact to share th…
Browse files Browse the repository at this point in the history
…e git repository

Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Aug 7, 2024
1 parent e260e16 commit 91a2d4d
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/publish-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,27 @@ jobs:
python markdown_code_embed/mdce.py -b -f README.md
create-pr:
upload-repo:
needs: [generate]
steps:
- name: Upload repository as artifact
uses: actions/upload-artifact@v3
with:
name: repo-artifact
path: .

create-pr:
needs: [upload-repo]
runs-on: ubuntu-latest
permissions:
contents: write # release changes require contents write
steps:
- name: Download repository artifact
uses: actions/download-artifact@v3
with:
name: repo-artifact
path: .

- name: Get current date
id: date
#if: steps.changed-files-yaml.outputs.doc_any_changed == 'true'
Expand Down

0 comments on commit 91a2d4d

Please sign in to comment.