mirror of
https://github.com/pumpitupdev/pumptools.git
synced 2026-09-22 22:28:03 +03:00
Since the pumptools.zip package contains already everything that's supposed to be released on the previous version already, a separate "public" release isn't required anymore. Also address this issue in the github workflows to publish the full package including everything.
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
# Regarding build steps, this is a copy of the Dockerfile and should be kept in-sync
|
|
name: "Build pumptools"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
build:
|
|
runs-on: "ubuntu-22.04"
|
|
steps:
|
|
- name: "Checkout repository"
|
|
uses: "actions/checkout@v2"
|
|
|
|
# Building bootstrapped using docker containers
|
|
- name: "Install prerequisites"
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y runc containerd docker.io
|
|
|
|
- name: "Build"
|
|
run: |
|
|
make build-docker
|
|
|
|
# Do some unpacking of the dist zip. Artifact upload repackages stuff
|
|
- name: "Prepare artifact package"
|
|
run: |
|
|
mkdir artifact
|
|
cd artifact
|
|
unzip ../build/docker/pumptools.zip
|
|
cd ..
|
|
|
|
- name: "Upload artifact"
|
|
uses: "actions/upload-artifact@v4"
|
|
with:
|
|
name: pumptools-${{ github.sha }}
|
|
retention-days: 30
|
|
if-no-files-found: "error"
|
|
path: |
|
|
artifact/**
|