Skip to content

Commit

Permalink
build.yml の追加
Browse files Browse the repository at this point in the history
  • Loading branch information
Budobudou committed Apr 5, 2024
1 parent 0c397dd commit beb1d4c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit beb1d4c

Please sign in to comment.