Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
quinna-h committed Sep 9, 2024
1 parent d3c48a9 commit 611140f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/auto-update-gemfiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
VERSION=${{ matrix.engine.version }}
find . -name "*${VERSION}_rack_*.gemfile" -exec cp --parents {} modified_gemfiles/ \;
tar -czf modified_gemfiles-${{ matrix.engine.version }}.tar.gz -C modified_gemfiles .
find modified_gemfiles/ -type f
- name: Upload artifact
uses: actions/upload-artifact@v3
Expand All @@ -99,22 +100,22 @@ jobs:
- name: Download artifacts for Ruby 3.3
uses: actions/download-artifact@v3
with:
name: modified-gemfiles-3.3
name: 'datadog-gem-ruby-3.3-gha${{ github.run_id }}'
path: artifacts/3.3

- name: Download artifacts for Ruby 3.4
uses: actions/download-artifact@v3
with:
name: modified-gemfiles-3.4
name: 'datadog-gem-ruby-3.4-gha${{ github.run_id }}'
path: artifacts/3.4

# TODO: add more runtime artifacts here

- name: Aggregate output
run: |
mkdir -p aggregated
tar -xzf artifacts/3.3/modified-gemfiles-3.3.tar.gz -C aggregated
tar -xzf artifacts/3.4/modified-gemfiles-3.4.tar.gz -C aggregated
tar -xzf artifacts/3.3/datadog-gem-ruby-3.3-gha${{ github.run_id }}.tar.gz -C aggregated
tar -xzf artifacts/3.4/datadog-gem-ruby-3.4-gha${{ github.run_id }}.tar.gz -C aggregated
# aggregate into folder aggregated
tar -czf aggregated-files.tar.gz -C aggregated .
Expand Down

0 comments on commit 611140f

Please sign in to comment.