-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (30 loc) · 1.13 KB
/
zip-archive.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Do a first Emacs call and Create the zip-archive from generated files
on:
- schedule:
- cron: '0 0 * * 0'
- push
jobs:
zip:
runs-on: ubuntu-latest
steps:
- name: Setup Emacs
uses: purcell/setup-emacs@master
with:
version: 29.1
- name: Clone the Config
uses: actions/checkout@v3
- name: Do a First Emacs Call
run: emacs -batch -l init.el --install --local-projects --modules
- name: Byte-Compile init.el
run: emacs --batch --eval '(byte-compile-file "init.el")'
- name: ... and early-init.el
run: emacs --batch --eval '(byte-compile-file "early-init.el")'
- name: Create the Archive from Generated Files
run: zip -r semacs.zip doc lisp pam cows dist init.el init.elc early-init.el early-init.elc small-init.el README.org snippets .git .gitignore .github
- name: Release the New Config Version
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
automatic_release_tag: latest
files: semacs.zip