Skip to content

fix mistake

fix mistake #75

Workflow file for this run

name: Sync MLX Files
on:
push:
branches: [ master ]
paths:
- '**.mlx'
jobs:
copy-changes:
runs-on: self-hosted
steps:
- name: Checkout Source Repo
uses: actions/checkout@v2
with:
repository: 'openCOBRA/COBRA.tutorials'
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Get All Changed Files
id: files
uses: jitterbit/get-changed-files@v1
- name: Find changed files
id: getfile
run: |
files=$(echo "${{ steps.files.outputs.all }}" | tr ' ' '\n' | grep -E '\.mlx$')
echo "::set-output name=file::$files"
- name: Give execute permission to the script
run: chmod +x fix.sh
- name: Give execute permission to the other script
run: chmod +x setup.sh
- name: Fix
run: ./fix.sh opencobra/cobratoolbox ${{ secrets.DEST_REPO_TOKEN }}