-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from i2p ppa to i2p.net deb repo (#112)
* update i2p ppa * update i2p ppa * Version bump, add pr workflow * update test_install workflow to install curl --------- Co-authored-by: Und3rf10w <[email protected]>
- Loading branch information
Showing
4 changed files
with
61 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: Build and Verify Debian Package (Pull Request) | ||
|
||
on: | ||
pull_request: # Triggered on pull requests | ||
branches: | ||
- '**' # All branches (adjust as needed) | ||
|
||
jobs: | ||
build-and-verify-deb: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y dpkg-dev wget curl | ||
- name: Build the .deb package | ||
run: | | ||
# Build the deb package | ||
sudo dpkg-deb -b kali-anonsurf-deb-src/ kali-anonsurf.deb | ||
- name: Verify .deb file exists | ||
run: | | ||
if [ ! -f kali-anonsurf.deb ]; then | ||
echo "ERROR: .deb file not found!" | ||
exit 1 | ||
fi | ||
echo ".deb file exists." | ||
- name: Validate .deb file | ||
run: | | ||
dpkg --info kali-anonsurf.deb | ||
- name: Run installer.sh | ||
run: | | ||
sudo chmod +x installer.sh | ||
sudo ./installer.sh | ||
env: | ||
DEBIAN_FRONTEND: noninteractive # Avoid interactive prompts during package installation | ||
|
||
- name: Verify installation | ||
run: | | ||
if dpkg -l | grep -qw kali-anonsurf; then | ||
echo "kali-anonsurf installed successfully." | ||
else | ||
echo "ERROR: kali-anonsurf did not install successfully." | ||
exit 1 | ||
fi | ||
- name: Log success | ||
run: echo "Installer script executed and verified successfully." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters