mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-01-11 03:11:50 +00:00
add test workflow
This commit is contained in:
21
.github/workflows/test.yml
vendored
Normal file
21
.github/workflows/test.yml
vendored
Normal 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 }}
|
||||||
|
|
||||||
14
action.yml
14
action.yml
@@ -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'
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user