fix: nil pointer panic #76
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: Build new version | |
on: | |
push: | |
branches: [master] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- 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 |