Skip to content

uniform style for scripts #86

uniform style for scripts

uniform style for scripts #86

Workflow file for this run

name: build
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: ShellCheck
uses: ludeeus/action-shellcheck@master
- name: Install packages
run: sudo DEBIAN_FRONTEND=noninteractive eatmydata apt-get install -o=Dpkg::Use-Pty=0 -y crudini dos2unix gcc p7zip
- name: Build and package
run: |
set -xeu -o pipefail
. extra/env.sh
./extra/prepare.sh
set -xeu -o pipefail
./extra/buildall.sh
./extra/package.sh
- name: Upload artifacts - main zip
uses: actions/upload-artifact@v7
if: "!startsWith(github.ref, 'refs/tags/')"
with:
name: party_orders.zip
path: party_orders*.zip
if-no-files-found: error
- name: Release
uses: softprops/action-gh-release@v3
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
party_orders*.zip
fail_on_unmatched_files: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}