Skip to content

Commit b202ade

Browse files
committed
Update actions
1 parent 0d4ac30 commit b202ade

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

.github/workflows/draft-release.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ name: Draft release
33
on:
44
push:
55
tags:
6-
- '+([0-9])\.+([0-9])*(\.[0-9])'
6+
- '([0-9])+\.([0-9])+(\.([0-9])+)?'
77

88
jobs:
99
release:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- name: Check out the repo
14+
uses: actions/checkout@v4
1415

1516
- name: Create release archive
1617
run: zip ${{ github.event.repository.name }}-${{ github.ref }}.zip \

.github/workflows/test.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Run tests
1+
name: Linting and Tests
22

33
on: [push, pull_request]
44

@@ -8,9 +8,11 @@ jobs:
88

99
steps:
1010
- name: Check out the repo
11-
uses: actions/checkout@v3
11+
uses: actions/checkout@v4
12+
1213
- name: Build the Docker image
1314
run: docker build .docker/alpine/ --tag vwout/obs-visca-control-test:lua-5.2
15+
1416
- name: Run linter
1517
uses: addnab/docker-run-action@v3
1618
with:
@@ -23,6 +25,7 @@ jobs:
2325
obs-visca-control.lua
2426
echo "Linting libvisca.lua, obs-visca-control.lua"
2527
lualint -s libvisca.lua -s obs-visca-control.lua
28+
2629
- name: Bytecode verification
2730
uses: addnab/docker-run-action@v3
2831
with:
@@ -37,6 +40,7 @@ jobs:
3740
luac -p libvisca.lua
3841
echo "Checking bytecode for obs-visca-control.lua"
3942
luac -p obs-visca-control.lua
43+
4044
- name: Run unit tests
4145
uses: addnab/docker-run-action@v3
4246
with:

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
A plugin for [OBS](https://obsproject.com/) to control Visca-over-IP based cameras.
33

44
[![GPLv3 License](https://img.shields.io/badge/License-GPL%20v3-yellow.svg)](https://opensource.org/licenses/)
5-
![GitHub release (latest by date)](https://img.shields.io/github/v/release/vwout/obs-visca-control?style=flat-square)
5+
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/vwout/obs-visca-control?style=flat-square)](https://github.com/vwout/obs-visca-control/releases)
6+
[![Linting and Tests](https://github.com/vwout/obs-visca-control/actions/workflows/test.yaml/badge.svg)](https://github.com/vwout/obs-visca-control/actions/workflows/test.yaml)
67

78
This plugin adds a source to a scene in OBS. With this source, a camera can be controlled.
89
Its main purpose is to automatically switch a camera to a certain preset when the scene is activated.

0 commit comments

Comments
 (0)