-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (29 loc) · 900 Bytes
/
pup.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
on:
push:
branches:
- main
env:
MAIN_BRANCH_URL: "https://raw.githubusercontent.com/liquidcarbon/puppy/main/"
jobs:
install-bash:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install puppy3.12
run: |
curl -fsSL $MAIN_BRANCH_URL/pup.sh | bash -s 3.12
- name: Create alias and run a pup command
run: |
. <(curl -fsSL $MAIN_BRANCH_URL/pup.sh | tail -1) && pup fetch test1 "cowsay<6"
install-windows:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install puppy3.11
run: |
& ([scriptblock]::Create((iwr -useb $env:MAIN_BRANCH_URL/pup.ps1).Content)) 3.11
- name: Create alias and run a pup command
run: |
iex ((iwr $env:MAIN_BRANCH_URL/pup.ps1).Content -split "`n")[-2] ; pup which