Skip to content

Commit

Permalink
fix upload in noble
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jun 14, 2024
1 parent b96033a commit a69e29d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 6 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build_for_x86-noble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,31 @@ jobs:
sudo apt update
sudo bash install_dep.sh
sudo bash ./build.sh x86-minimal $API_KEY ubuntu noble
- name: debug
run:
cp -r /opt/OpenHD-ChrootCompiler/out/* .

- name: Upload to Github
uses: 'actions/upload-artifact@v2'
with:
name: "OpenHD"
path: |
*.deb
*.log
if-no-files-found: error

- name: Push
id: push
if: github.ref_name == 'release' || github.ref_name == 'dev-release'
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"
13 changes: 7 additions & 6 deletions build_chroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,12 @@ mkdir -p package/lib/modules/6.3.13-060313-generic/kernel/drivers/net/wireless/
cp *.ko package/lib/modules/6.3.13-060313-generic/kernel/drivers/net/wireless/
ls -a
fpm -a amd64 -s dir -t deb -n rtl8812au-x86 -v 2.5-evo-$(date '+%m%d%H%M') -C package -p rtl8812au-x86.deb --before-install before-install.sh --after-install after-install.sh

cp *.deb /out/
echo "copied deb file"
echo "push to cloudsmith"
git describe --exact-match HEAD >/dev/null 2>&1
echo "Pushing the package to OpenHD 2.5 repository"
ls -a
cloudsmith push deb --api-key "$API_KEY" openhd/release/ubuntu/lunar rtl8812au-x86.deb || exit 1

# echo "push to cloudsmith"
# git describe --exact-match HEAD >/dev/null 2>&1
# echo "Pushing the package to OpenHD 2.5 repository"
# ls -a
# cloudsmith push deb --api-key "$API_KEY" openhd/release/ubuntu/lunar rtl8812au-x86.deb || exit 1
fi

0 comments on commit a69e29d

Please sign in to comment.