v0.5.2 #3
Workflow file for this run
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
permissions: | |
contents: write | |
on: | |
release: | |
types: [created] | |
name: Handle Release | |
jobs: | |
generate: | |
name: Create release-artifacts | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
- name: Checkout the repository | |
uses: actions/checkout@master | |
- name: Install dependencies | |
run: composer install --prefer-dist --no-progress | |
- name: Generate the artifacts | |
run: php bundle.php | |
- name: Upload the artifacts | |
uses: skx/github-action-publish-binaries@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
args: 'dist/AWDY.php' |