From 7ff3af57a34b513fabca343dfcb300e1c3dbd8c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Roth?= Date: Thu, 14 Nov 2024 22:48:10 +0100 Subject: [PATCH] add test workflow --- .github/workflows/test.yml | 21 +++++++++++++++++++++ action.yml | 14 -------------- 2 files changed, 21 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/test.yml delete mode 100644 action.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..acb6189b3 --- /dev/null +++ b/.github/workflows/test.yml @@ -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@v0.0.14 + with: + directory: buildout + aptly_server: https://aptly.info + aptly_user: ${{ secrets.APTLY_USER }} + aptly_password: ${{ secrets.APTLY_PASSWORD }} + diff --git a/action.yml b/action.yml deleted file mode 100644 index e3d29fa69..000000000 --- a/action.yml +++ /dev/null @@ -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' -