Skip to content

chore: minor improvments #84

chore: minor improvments

chore: minor improvments #84

Workflow file for this run

name: Build new version
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install libpcap-dev
run: sudo apt update && sudo apt install -y libpcap-dev
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: "^1.21"
- uses: paulhatch/[email protected]
id: version
- run: make test-integration-docker
name: Run integration tests inside Docker
- run: make test
name: Unit tests
- run: make build
name: Build
env:
VERSION: ${{ steps.version.outputs.version }}
- run: make build-plugins
name: Build plugins
- name: Release
uses: softprops/action-gh-release@v2
if: ${{ steps.version.outputs.version != '' }}
with:
tag_name: ${{ steps.version.outputs.version_tag }}
prerelease: ${{ steps.version.outputs.increment != 0 }}
files: |
bin/druid
bin/druid_rcon
bin/druid_rcon_web_rust
.docker/entrypoint.sh
.docker/druid-install-command.sh