deb packaging #55
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deb packaging | |
on: | |
push: | |
tags: | |
- 'debian/*.*.*-*' | |
- 'test/*' | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build-native: | |
uses: dionysius/gbp-gha/.github/workflows/gbp-native.yml@main | |
with: | |
# https://github.com/orgs/community/discussions/26671 | |
DEBFULLNAME: dionysius (github-actions) | |
DEBEMAIL: [email protected] | |
before_build_deps_install: | | |
source "$HOME/.cargo/env" || true | |
if ! command -v rustup > /dev/null; then | |
curl https://sh.rustup.rs -sSf | sh -s -- -y | |
source "$HOME/.cargo/env" | |
fi | |
rustup toolchain install stable | |
secrets: | |
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | |
# build-qemu: | |
# uses: dionysius/gbp-gha/.github/workflows/gbp-qemu.yml@main | |
# with: | |
# # https://github.com/orgs/community/discussions/26671 | |
# DEBFULLNAME: dionysius (github-actions) | |
# DEBEMAIL: [email protected] | |
# before_build_deps_install: | | |
# export HOME=/root | |
# source "/root/.cargo/env" || true | |
# if ! command -v rustup > /dev/null; then | |
# curl https://sh.rustup.rs -sSf | sh -s -- -y | |
# source "/root/.cargo/env" | |
# fi | |
# rustup toolchain install stable | |
# secrets: | |
# GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} | |
release: | |
if: startsWith(github.event.ref, 'refs/tags/debian') | |
needs: [build-native] | |
uses: dionysius/gbp-gha/.github/workflows/release.yml@main | |
upload: | |
if: startsWith(github.event.ref, 'refs/tags/debian') | |
needs: [build-native] | |
uses: dionysius/gbp-gha/.github/workflows/upload-packagecloud.yml@main | |
with: | |
USERREPO: dionysius/vaultwarden | |
secrets: | |
PACKAGECLOUD_TOKEN: ${{ secrets.PACKAGECLOUD_TOKEN }} |