-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (26 loc) · 958 Bytes
/
list.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
name: list
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
list-definitions:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
# From: https://lannonbr.com/blog/2019-12-09-git-commit-in-actions
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
- name: setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Install required packages
run: sudo apt install -y dar dar-static par2 git
- name: test ls-archives.sh --listdef
run: |
chmod +x $GITHUB_WORKSPACE/test/test-list-definitions.sh
$GITHUB_WORKSPACE/test/test-list-definitions.sh