Skip to content

Release 3.32.0

Release 3.32.0 #98

Workflow file for this run

name: build-tarball
on:
release:
types: [created, edited]
jobs:
build-tarball:
runs-on: ubuntu-latest
strategy:
matrix:
branding: [tf2pickup.pl, hl.tf2pickup.pl, tf2pickup.es]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Build ${{ matrix.branding }}
run: pnpm build:${{ matrix.branding }}
- name: Create ${{ matrix.branding }} tarball
run: tar -C dist/${{ matrix.branding }} -zcvf ${{ matrix.branding }}_client-${{ github.event.release.tag_name }}.tar.gz .
- name: Upload tarball
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ matrix.branding }}_client-${{ github.event.release.tag_name }}.tar.gz
tag: ${{ github.ref }}
overwrite: true