Skip to content

fix: Update Linux gamedata after AnimGraphV2 update #1

fix: Update Linux gamedata after AnimGraphV2 update

fix: Update Linux gamedata after AnimGraphV2 update #1

Workflow file for this run

name: Continuous Integration

Check failure on line 1 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

(Line: 17, Col: 3): 'push' is already defined
on:
push:
tags:
- '*'
branches:
- main
paths-ignore:
- LICENSE
- README.md
pull_request:
paths-ignore:
- LICENSE
- README.md
workflow_dispatch:
push:
tags:
- '*'
branches:
- main
jobs:
build:
name: Build via Docker Compose
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build plugin inside container
run: docker compose up --build --abort-on-container-exit
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: linux-package
path: dockerbuild/package
release:
name: Release
if: startsWith(github.ref, 'refs/tags/')
needs: build
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: linux-package
path: ./Linux
- name: Package Linux .so
run: |
version="${GITHUB_REF#refs/tags/}"
tar -czf MultiAddonManager-${version}-linux.tar.gz -C Linux .
- name: Upload release archive
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: MultiAddonManager-*-linux.tar.gz
tag: ${{ github.ref }}
file_glob: true