Skip to content

tidalcycles-maker #26923

tidalcycles-maker

tidalcycles-maker #26923

Workflow file for this run

name: tidalcycles-maker
on:
push:
schedule:
- cron: "*/5 * * * *"
jobs:
job-with-haskell:
runs-on: ubuntu-latest
permissions:
actions: write
checks: write
contents: write
deployments: write
issues: write
packages: write
pull-requests: write
repository-projects: write
security-events: write
statuses: write
steps:
- uses: actions/checkout@v3
- name: Move directory
run: cd /home/runner/work/LiveCodingPortfolio/LiveCodingPortfolio
- name: Update apt Package lists
run: sudo apt update -y
- name: Upgrade apt version
run: sudo apt upgrade -y
- name: Pre-install LFS
run: sudo apt-get install git-lfs
- name: Install LFS
run: git lfs install
- name: Confirm LFS version
run: git lfs --version
- name: Enable LFS
uses: actions/checkout@v3
with:
lfs: true
clean: false
- name: Reset commits
run: git reset --hard
- name: Register user email
run: git config --global user.email "[email protected]"
- name: Register user name
run: git config --global user.name "Uchida16104"
- name: Remove files
run: git rm index.hs
- name: Commit to remove files
run: git commit -m "Upload Zend framework 3 skeleton" -m "Use GitHub web GUI"
- name: Fetch to remove files
run: git fetch
- name: Merge to remove files
run: git merge
- name: Push to remove files
run: git push --force-with-lease origin master
- name: Initialize Git
run: git init
- name: Run ShellScript
run: bash
- name: Set cps
run: echo "setcps 0"$(bc <<< "scale=3; $RANDOM/32767") >> index.hs
- name: Define track
run: echo -n d1 $ s \" >> index.hs
- name: Choose sample
run: echo -n "bd hh cp hh" >> index.hs
- name: End output
run: echo -n \" >> index.hs
- name: Register files
run: git add .
- name: Commit files
run: git commit -m "Upload Zend framework 3 skeleton" -m "Use GitHub web GUI"
- name: Update files
uses: stefanzweifel/git-auto-commit-action@v4
- name: Push files
run: git push --force-with-lease origin master