Skip to content

fix deb target dir #116

fix deb target dir

fix deb target dir #116

Workflow file for this run

name: Linux CI
on:
workflow_dispatch:
push:
branches:
- "arm"
paths-ignore:
- "docs/**"
- ".gitignore"
- LICENSE
- "*.md"
# pull_request:
# branches:
# - "main"
# paths-ignore:
# - "docs/**"
# - ".gitignore"
# - LICENSE
# - "*.md"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
platform: ["amd64", "arm64"]
steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Rust project
run: |
docker run --rm --platform linux/${{matrix.platform}} -v ${{ github.workspace }}:/app -v ./entrypoint.sh:/entrypoint.sh ghcr.io/kosette/ubuntu-rust-gtk4:latest
sudo cp target/release/tsukimi .
sudo cp target/debian/*.deb .
sudo cp -r i18n/locale .
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: tsukimi-${{matrix.platform}}-linux-gnu
path: |
tsukimi
moe.*.xml
locale/