Skip to content

CLI-1383: Upgrade consolidation/self-update (no bc break) (#370) #10

CLI-1383: Upgrade consolidation/self-update (no bc break) (#370)

CLI-1383: Upgrade consolidation/self-update (no bc break) (#370) #10

Workflow file for this run

name: Acquia Logstream Deploy
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
run:
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest]
php-versions: ['7.4']
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, intl
ini-values: post_max_size=256M, short_open_tag=On
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --no-progress --no-interaction
- name: Install Phar tools and build deployment artefact.
run: |
composer phar:install-tools
rm -rf vendor/*
composer install --prefer-dist --no-dev --no-interaction
composer phar:build
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./logstream.phar
asset_name: logstream.phar
asset_content_type: application/octet-stream