Skip to content

Commit

Permalink
Merge branch 'main' into feat/VOL-4796
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielg2020 authored Apr 18, 2024
2 parents fe125f9 + d407d1a commit 06e7ddb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ jobs:
with:
project: ${{ matrix.project }}
should-upload-artefact: true
artefact-name: app-${{ matrix.project}}-${{ needs.get-version.outputs[matrix.project] }}
artefact-name: ${{ matrix.project}}
retention-days: 1
permissions:
contents: read
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
with:
project: ${{ matrix.project }}
version: ${{ needs.get-version.outputs[matrix.project] }}
app-artefact-name: app-${{ matrix.project}}-${{ needs.get-version.outputs[matrix.project] }}
app-artefact-name: ${{ matrix.project}}
should-upload-artefact-to-ecr: true
permissions:
contents: read
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
with:
project: ${{ matrix.project }}
should-upload-artefact: ${{ !!needs.orchestrator.outputs[format('should-build-{0}-docker', matrix.project)] }}
artefact-name: app-${{ matrix.project}}-${{ needs.get-version.outputs[matrix.project] }}
artefact-name: ${{ matrix.project}}
retention-days: 1
permissions:
contents: read
Expand Down Expand Up @@ -199,7 +199,7 @@ jobs:
with:
project: ${{ matrix.project }}
version: ${{ needs.get-version.outputs[matrix.project] }}
app-artefact-name: app-${{ matrix.project}}-${{ needs.get-version.outputs[matrix.project] }}
app-artefact-name: ${{ matrix.project}}
should-upload-artefact-to-ecr: false
permissions:
contents: read
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/php.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
inputs:
ref:
type: string
default: 5.3.0
required: false
project:
type: string
Expand Down Expand Up @@ -181,11 +182,11 @@ jobs:
- name: Install dependencies
run: composer install --no-progress --prefer-dist --no-dev --optimize-autoloader
- name: Archive
run: git archive --output=${{ inputs.artefact-name }}.tar.gz HEAD
run: tar -czf ${{ inputs.project }}.tar.gz *
- name: Upload artefact
if: ${{ inputs.should-upload-artefact }}
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artefact-name }}
path: app/${{ inputs.project }}/${{ inputs.artefact-name }}.tar.gz
path: app/${{ inputs.project }}/${{ inputs.project }}.tar.gz
retention-days: ${{ inputs.retention-days }}

0 comments on commit 06e7ddb

Please sign in to comment.