This repository has been archived by the owner on May 16, 2023. It is now read-only.
Merge pull request #182 from zikula/dependabot/npm_and_yarn/symfony/w… #520
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build archives | |
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
# persist composer's internal cache directory to reduce the workflow execution time | |
- name: Get Composer cache directory | |
id: composer-cache | |
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | |
- name: Cache dependencies | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }} | |
restore-keys: ${{ runner.os }}-composer- | |
- name: Build release artifacts | |
run: ./.github/scripts/buildReleaseArtifacts.sh | |
# see https://github.com/actions/upload-artifact | |
- name: Upload release artifacts | |
uses: actions/upload-artifact@master | |
with: | |
name: release-archives | |
path: './build_work/archive' |