Skip to content

Commit

Permalink
ci: upgrade to GitHub Actions v3
Browse files Browse the repository at this point in the history
  • Loading branch information
yoursunny committed Dec 29, 2022
1 parent 2159092 commit cecfe58
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: install dependencies
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get install -y --no-install-recommends libboost-dev libboost-program-options-dev
- name: check code style
- name: Check code style
run: |
make lint
git diff --exit-code
- name: build and install
- name: Build and install
run: |
make
sudo make install
Expand All @@ -25,24 +25,24 @@ jobs:
runs-on: ubuntu-20.04
container: debian:bullseye
steps:
- name: install tools
- name: Install tools
run: |
apt-get update
apt-get install -qq --no-install-recommends devscripts equivs gawk git
- uses: actions/checkout@v2
- name: install dependencies
- uses: actions/checkout@v3
- name: Install dependencies
run: |
mk-build-deps -ir -t "apt-get -qq --no-install-recommends"
- name: prepare changelog
- name: Prepare changelog
run: |
debian/nightly-changelog.sh
env:
DISTRO: bullseye
- name: build package
- name: Build package
run: |
debuild -us -uc
mv ../*.deb ~/
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: deb
path: ~/*.deb

0 comments on commit cecfe58

Please sign in to comment.