Clarify setting. #1
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
name: Create Alfred Workflow | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Composer dependencies | |
uses: php-actions/composer@v6 | |
- name: Build Alfred workflow | |
id: alfred_builder | |
uses: com30n/build-alfred-workflow@v1 | |
with: | |
workflow_dir: . | |
exclude_patterns: '.git/* .gitignore .github docker_tag Dockerfile-php-build DOCKER_ENV output.log resources/*' | |
custom_version: ${{ github.ref_name }} | |
- name: Create release | |
id: create_release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
token: ${{ secrets.RELEASE_TOKEN }} | |
files: ${{ steps.alfred_builder.outputs.workflow_file }} |