Skip to content

Commit

Permalink
Update build-phar.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed May 7, 2024
1 parent 592bdfe commit f472c8a
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/build-phar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,31 +48,8 @@ jobs:
with:
fetch-depth: 0 # required for composer to automatically detect root package version

- name: Get Composer Cache Directories
id: composer-cache
run: |
echo "files_cache=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
echo "vcs_cache=$(composer config cache-vcs-dir)" >> $GITHUB_OUTPUT
- name: Generate composer.lock
run: |
composer update --no-install
- name: Cache composer cache
uses: actions/cache@v4
with:
path: |
${{ steps.composer-cache.outputs.files_cache }}
${{ steps.composer-cache.outputs.vcs_cache }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Run composer install
run: composer install -o
# DO NOT set this, we need composer to figure out the version itself
# env:
# COMPOSER_ROOT_VERSION: dev-master
- name: Install Dependencies
uses: ramsey/composer-install@v3

- run: bin/build-phar.sh
env:
Expand Down

0 comments on commit f472c8a

Please sign in to comment.