add test workflow

This commit is contained in:
André Roth
2024-11-14 22:48:10 +01:00
parent 55a4872891
commit 594883f1e5
2 changed files with 21 additions and 14 deletions

21
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: test aptly upload-lint
on:
push:
pull_request:
permissions:
contents: read
jobs:
aptly-upload:
name: upload
runs-on: ubuntu-latest
steps:
- name: Publish to aptly server
uses: neolynx/aptly-github-action/publish@v0.0.15
with:
directory: buildout
aptly_server: https://aptly.info
aptly_user: ${{ secrets.APTLY_USER }}
aptly_password: ${{ secrets.APTLY_PASSWORD }}

View File

@@ -1,14 +0,0 @@
name: 'Hello World JS Action'
description: 'Greet someone and record the time'
inputs:
directory:
description: 'directory with debian packages'
required: true
default: 'build'
#outputs:
# time:
# description: 'The time we greeted you'
runs:
using: 'debian:bookworm-slim'
main: 'aptly-upload.sh'