kanidm/.github/workflows/debian_package_kanidm.yml
dependabot[bot] 5dd69fa989
Bump jetli/wasm-pack-action from 0.3.0 to 0.4.0 (#1231)
Bumps [jetli/wasm-pack-action](https://github.com/jetli/wasm-pack-action) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/jetli/wasm-pack-action/releases)
- [Commits](https://github.com/jetli/wasm-pack-action/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: jetli/wasm-pack-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 08:18:36 +10:00

51 lines
1.3 KiB
YAML

---
name: "Build Debian Packages"
# yamllint disable-line rule:truthy
on:
push:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-deb-package:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
default: true
- name: Update package manager
run: sudo apt-get update
- name: Install dependencies
run: |
sudo apt-get install -y \
libpam0g-dev \
libudev-dev \
libssl-dev \
libsqlite3-dev \
pkg-config \
make
- uses: jetli/wasm-pack-action@v0.4.0
with:
# Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest')
version: 'latest'
- name: "Doing the package build"
run: |
make -f platform/debian/Makefile debs/all
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Ubuntu Packages (20.04)"
files: target/*.deb
if: ${{ github.ref == 'refs/heads/master' }}