try2 to byte-compile init.el from zero with right way #88
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: Do a first Emacs call and Create the zip-archive from generated files | |
on: [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: 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: Do a First Emacs Call | |
run: emacs -batch -l init.el --install --local-projets --modules | |
- 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 |