melpazoid #24
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
# melpazoid <https://github.com/riscy/melpazoid> build checks. | |
# If your package is on GitHub, enable melpazoid's checks by copying this file | |
# to .github/workflows/melpazoid.yml and modifying RECIPE and EXIST_OK below. | |
name: melpazoid | |
on: | |
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab | |
schedule: | |
- cron: '0 0 * * 0' # weekly | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v1 | |
with: { python-version: 3.9 } | |
- name: Install | |
run: | | |
python -m pip install --upgrade pip | |
sudo apt-get install emacs && emacs --version | |
git clone https://github.com/riscy/melpazoid.git ~/melpazoid | |
pip install ~/melpazoid | |
- name: Run | |
env: | |
LOCAL_REPO: ${{ github.workspace }} | |
# RECIPE is your recipe as written for MELPA: | |
RECIPE: (wavedrom-mode :repo "gmlarumbe/wavedrom-mode" :fetcher github) | |
# set this to false (or remove it) if the package isn't on MELPA: | |
EXIST_OK: true | |
run: echo $GITHUB_REF && make -C ~/melpazoid |