Skip to content

Update trigger-native.yaml #76

Update trigger-native.yaml

Update trigger-native.yaml #76

name: trigger-native
on:
push:
branches: master
paths:
- 'org.alloytools.pardinus.native/native-code/**'
- '.github/workflows/trigger-native.yaml'
- '.github/workflows/subflow-*.yaml'
jobs:
electrod:
uses: ./.github/workflows/subflow-electrod.yaml
native:
uses: ./.github/workflows/subflow-native.yaml
merge-natives:
needs: [electrod,native]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
path: temp_native
- run: |
find org.alloytools.pardinus.native/native/ -type f -exec git hash-object -w {} \; -print
ls -Rl temp_native
cp -rf temp_native/*/* org.alloytools.pardinus.native/native/
ls -Rl org.alloytools.pardinus.native/native/
find org.alloytools.pardinus.native/native/ -type f -exec git hash-object -w {} \; -print
rm -rf temp_native
git config user.name github-actions
git config user.email [email protected]
- uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Native code update request"
title: "Native code update"
delete-branch: true
branch: native
base: master
- uses: actions/upload-artifact@v4
with:
name: native
path: org.alloytools.pardinus.native/native/