Skip to content

Create release

Create release #5

Workflow file for this run

name: Create release
on: [create, workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Setup
run: |
git config --global user.name "CI"
git config --global user.email "[email protected]"
sudo apt-get -qq install sbcl curl fontforge imagemagick inkscape
curl -o ~/quicklisp.lisp https://beta.quicklisp.org/quicklisp.lisp
sbcl --load ~/quicklisp.lisp \
--eval '(quicklisp-quickstart:install)' \
--eval '(ql-util:without-prompting (ql:add-to-init-file))' \
--eval '(ql:quickload :shasht)' \
--eval '(ql:quickload :clip)' \
--eval '(ql:quickload :pathname-utils)' \
--quit
- uses: actions/cache@v3
with:
path: |
~/quicklisp/
key: ${{ runner.os }}
restore-keys: ${{ runner.os }}
- uses: actions/checkout@v2
- name: Rebuild
run: |
./compile.lisp all
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: promptfont-${{ github.ref_name }}
path: promptfont.zip
- name: Create release
id: create_release
continue-on-error: true
uses: ncipollo/release-action@v1
with:
allowUpdates: true
name: Release ${{ github.ref_name }}
artifacts: promptfont.zip
- uses: Ayowel/[email protected]
with:
butler_key: ${{ secrets.BUTLER_CREDENTIALS }}
itch_user: shinmera
itch_game: promptfont
version: ${{ github.ref_name }}
files: all promptfont.zip