From beb1d4c1c4765b6d395dac04435757662eff566f Mon Sep 17 00:00:00 2001 From: Budobudou <63654313+Budobudou@users.noreply.github.com> Date: Fri, 5 Apr 2024 17:27:09 +0900 Subject: [PATCH] =?UTF-8?q?build.yml=20=E3=81=AE=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 26 ++++++++++++++++++++++++++ makefile | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e8e0875 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,26 @@ +name: Build pioneos-oobe + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - run: sudo apt update + + - run: sudo apt upgrade -y + + - run: make dist + + - uses: actions/upload-artifact@v4 + with: + name: pioneos-oobe + path: dist/*.deb \ No newline at end of file diff --git a/makefile b/makefile index 568208f..2ac2e87 100644 --- a/makefile +++ b/makefile @@ -12,7 +12,7 @@ dist: build chmod +x app/DEBIAN/prerm dpkg-deb --build app - mv app.deb pioneos-oobe_1.0-9_amd64.deb + mv app.deb ./dist/pioneos-oobe_1.0-9_amd64.deb rm -rf app rm -rf dist rm -rf bin