Skip to content

Commit

Permalink
Properly apt-get install inn2 in a GitHub Action.
Browse files Browse the repository at this point in the history
Demonstrate how to properly `apt-get install inn2` in a GitHub Action.
Configure the inn2 instance so that other code can test interactions with the inn2 server.

Much of this project's documentation covers how to build inn2 from source.  It would be helpful if there were working examples of how to `apt-get install inn2` in Docker or in a GitHub Action.  I have been struggling to do so for a few hours without success.
  • Loading branch information
cclauss authored Sep 14, 2024
1 parent 1643b4c commit d29e46c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/atp-get_install_inn2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Demonstrate how to properly `apt-get install inn2` in a GitHub Action.
# Configure the inn2 instance so that other code can test interactions with the inn2 server.

name: apt-get_install_inn2
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
apt-get_install_inn2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
sudo apt-get update -qq
sudo apt-get install --yes inn2
inn2 --version

0 comments on commit d29e46c

Please sign in to comment.