Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Aug 22, 2024
1 parent 743614c commit a7e0d5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 32 deletions.
34 changes: 2 additions & 32 deletions .github/workflows/build_for_x86-noble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,11 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive
- name: Building OpenHD in CHROOT
- name: Building OpenHD in CHROOT
run: |
git clone https://github.com/OpenHD/OpenHD-ChrootCompiler /opt/OpenHD-ChrootCompiler
mkdir -p /opt/OpenHD-ChrootCompiler/additionalFiles
git clone https://github.com/OpenHD/rtl88x2eu /opt/OpenHD-ChrootCompiler/additionalFiles/ --recursive
chmod +x /opt/ChrootCompilationTest/additionalFiles/build_chroot.sh
echo $CLOUDSMITH_API_KEY > /opt/OpenHD-ChrootCompiler/additionalFiles/cloudsmith_api_key.txt
echo "AMD64" > /opt/OpenHD-ChrootCompiler/additionalFiles/arch.txt
echo "ubuntu" > /opt/OpenHD-ChrootCompiler/additionalFiles/distro.txt
Expand All @@ -43,33 +42,4 @@ jobs:
cd /opt/OpenHD-ChrootCompiler/
sudo apt update
sudo bash install_dep.sh
sudo bash ./build.sh x86-minimal $API_KEY ubuntu noble
- name: debug
run: |
ls -a
cp -r /opt/OpenHD-ChrootCompiler/out/*.deb .
- name: Upload to Github
uses: 'actions/upload-artifact@v2'
with:
name: "rtl8812au"
path: |
*.deb
*.log
if-no-files-found: error

- name: Push
id: push
uses: cloudsmith-io/action@master
with:
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
command: "push"
format: "deb"
owner: "openhd"
repo: release
distro: "ubuntu"
release: "noble"
republish: "true" # needed ONLY if version is not changing
file: "*.deb"
sudo bash ./build.sh x86-noble $API_KEY ubuntu noble
1 change: 1 addition & 0 deletions .github/workflows/build_for_x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
uses: actions/checkout@v3
with:
submodules: recursive

- name: Building OpenHD in CHROOT
run: |
git clone https://github.com/OpenHD/OpenHD-ChrootCompiler /opt/OpenHD-ChrootCompiler
Expand Down

0 comments on commit a7e0d5c

Please sign in to comment.