Skip to content

Commit

Permalink
upload merged files to artifacts as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtrkmn committed Jun 18, 2023
1 parent 28a1532 commit 1cefdcd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/execute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,19 @@ jobs:
env:
DATA_DIR: /home/runner/work/orbi/orbi/data/

- name: Zip merged files
run: |
zip -r merged_data_${{ steps.get-timestamp.outputs.timestamp }}.zip ${{ env.DATA_DIR }}/merged_data_${{ steps.get-timestamp.outputs.timestamp }}_licensee.xlsx ${{ env.DATA_DIR }}/merged_data_${{ steps.get-timestamp.outputs.timestamp }}_licensor.xlsx
continue-on-error: true

- name: Upload merged files to artifacts
uses: actions/upload-artifact@v3
with:
name: merged-data-${{ steps.get-timestamp.outputs.timestamp }}.zip
path: merged_data_${{ steps.get-timestamp.outputs.timestamp }}.zip
retention-days: ${{ env.RETENTION_PERIOD }}
continue-on-error: true

- name: Send data to slack channel
# If input notify is true, send the data to slack channel
if: ${{ success() && github.event.inputs.notify == 'true' }}
Expand Down

0 comments on commit 1cefdcd

Please sign in to comment.