Skip to content

fixes

fixes #51

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: ['dev']
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore
paths:
- '**.el'
- '**.sh'
- '.github/**'
- 'Makefile'
- 'elements/**'
# ignorance
- '!elements/referred/libvterm/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
# gh-release permission needed
contents: write
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os:
- ubuntu-24.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Env (Top)
run: |
echo "RELEASE_DATE=$(date -u +'%Y%m%d%H%M%S')" >> ${GITHUB_ENV}
echo "RELEASE_VERSION=$(cat version)" >> ${GITHUB_ENV}
- name: Set Env (Tag)
run: |
echo "RELEASE_TAGNAME=CI/${{ github.ref_name }}/v${{ env.RELEASE_VERSION }}/${{ env.RELEASE_DATE }}" >> ${GITHUB_ENV}
- name: Install Deps
run:
sudo apt-get -y install make emacs texinfo texlive findutils git xz-utils markdown imagemagick
- name: Build
run: |
make all
- name: "Create latest pre-release tag"
uses: rickstaa/action-create-tag@v1
id: "tag_create"
with:
tag: ${{ env.RELEASE_TAGNAME }}
tag_exists_error: true
no_verify_tag: false
- name: Release
uses: softprops/action-gh-release@v1
with:
name: "PreBuilt (CI: dev) ${{ env.RELEASE_VERSION }}/${{ env.RELEASE_DATE }}"
tag_name: ${{ env.RELEASE_TAGNAME }}
prerelease: true
files: |
release/entropy-emacs-extensions_build_*.tar.xz
release/entropy-emacs-extensions_build_*.tar.xz.sha256
# Local Variables:
# tab-width: 2
# yaml-indent-offset: 2
# End: