From fc9765e09c2b9798bcaaa53de8c5305e32691d6b Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Sat, 27 Apr 2024 17:05:17 +0300 Subject: [PATCH] Build DEB experiment --- .github/workflows/make-ubuntu-22.04-deb.yaml | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/make-ubuntu-22.04-deb.yaml diff --git a/.github/workflows/make-ubuntu-22.04-deb.yaml b/.github/workflows/make-ubuntu-22.04-deb.yaml new file mode 100644 index 000000000000..3823b6a4eb1b --- /dev/null +++ b/.github/workflows/make-ubuntu-22.04-deb.yaml @@ -0,0 +1,29 @@ +name: Build and publish userver-all-* artifact + +'on': + schedule: + - cron: '30 5 * * 0' # Every Sunday at 5:30 + workflow_dispatch: + pull_request: + push: + branches: + - master + - develop + - feature/** + +jobs: + build_and_publish: + runs-on: ghcr.io/userver-framework/ubuntu-22.04-userver-base:latest + name: Build and publish DEB + env: + USERVER_IMAGE_TAG: ${{ github.event.release.tag_name || 'latest' }} + steps: + - uses: actions/checkout@v2 + - name: Build the DEB + run: | + ./scripts/build_and_install_all.sh + - uses: actions/upload-artifact@v4 + with: + name: userver-all.deb + path: userver-all*.deb + overwrite: true