Skip to content

Release 3.30.5

Release 3.30.5 #94

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 Node.js
uses: actions/setup-node@v4
- name: Install dependencies
run: yarn install
- name: Build ${{ matrix.branding }}
run: yarn 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