name: CI

on:
- push

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 }}

    - 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

name: CI

on:
  push:
    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 }}

    - 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

Revert "Temporarily tweak GH Actions on to trigger a build"
Revert "Temporarily tweak GH Actions on to trigger a build"

This reverts commit aa8cd70597ff35b47fdd1ba8e3e3020f971539de.
