20 lines
727 B
YAML
20 lines
727 B
YAML
---
|
|
name: 'Setup Just'
|
|
description: "Sets up 'casey/just' inside a workflow"
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Setup MPR
|
|
shell: bash
|
|
run: |
|
|
wget -qO - 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' \
|
|
| gpg --dearmor \
|
|
| sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null \
|
|
&& echo "deb [arch=all,$(dpkg --print-architecture) signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] \
|
|
https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" \
|
|
| sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list \
|
|
&& sudo apt update
|
|
- name: Setup just.
|
|
shell: bash
|
|
run: sudo apt install -y just
|