name: CI

on:
  tags:
  - *
  paths:
  - Package Managers.alfredworkflow

jobs:
  build:

    runs-on: ubuntu-latest
    
    steps:
    - uses: actions/checkout@master
    - name: Rename Alfred Workflow
      run: mv "Package Managers.alfredworkflow" Package.Managers.alfredworkflow
    - name: Create GitHub Release
      uses: elgohr/Github-Release-Action@1.1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        args: ${{ github.ref }}
      needs: Rename Alfred Workflow
    - name: GitHub Upload Release Artifacts
      uses: Roang-zero1/github-upload-release-artifacts-action@v2.0.0
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        args:
        - Package.Managers.alfredworkflow
      needs: Create GitHub Release

name: CI

on:
  tags:
  - '*'
  paths:
  - Package Managers.alfredworkflow

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@master
    - name: Rename Alfred Workflow
      run: mv "Package Managers.alfredworkflow" Package.Managers.alfredworkflow
    - name: Create GitHub Release
      uses: elgohr/Github-Release-Action@1.1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        args: ${{ github.ref }}
      needs: Rename Alfred Workflow
    - name: GitHub Upload Release Artifacts
      uses: Roang-zero1/github-upload-release-artifacts-action@v2.0.0
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        args:
        - Package.Managers.alfredworkflow
      needs: Create GitHub Release

Fix YAML for GH Actions config
Fix YAML for GH Actions config
