mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 06:38:03 +08:00
* move nix flake to root * cargo run tool * use thiserror in third-party-licenses tool * prefere panic over exit * Add automatic dependency check to cargo run tool * Skip dependecies that are not needed for the current task * Fixup * Fixup * fix windows * Fixup * improve usage text * Fix linux bundle * add graphen-cli * fix build profile * fix * release profile should not include debug infos * Review * remove profiling profile was redundent with release * rename to cargo-run tool * improve consistency * rename deps to requirements * fix * return success when showing usage
32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
name: Provide Shaders
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
- uses: DeterminateSystems/magic-nix-cache-action@main
|
|
|
|
- name: Build graphene raster nodes shaders
|
|
run: nix build .#graphite-raster-nodes-shaders && cp result raster_nodes_shaders_entrypoint.wgsl
|
|
|
|
- name: Upload graphene raster nodes shaders to artifacts repository
|
|
run: |
|
|
bash .github/workflows/scripts/artifact-upload.bash \
|
|
${{ vars.ARTIFACTS_REPO_OWNER }} \
|
|
${{ vars.ARTIFACTS_REPO_NAME }} \
|
|
${{ vars.ARTIFACTS_REPO_BRANCH }} \
|
|
rev/${{ github.sha }}/raster_nodes_shaders_entrypoint.wgsl \
|
|
raster_nodes_shaders_entrypoint.wgsl \
|
|
"${{ github.sha }} raster_nodes_shaders_entrypoint.wgsl" \
|
|
${{ secrets.ARTIFACTS_REPO_TOKEN }}
|