Remove empty sections #97
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
- push | |
- pull_request | |
- workflow_dispatch | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: docker build | |
run: | | |
sudo docker build -t quine-relay . | |
- name: docker run | |
run: | | |
sudo docker run --privileged --name qr -e CI=true -t quine-relay | |
- name: push spoiler | |
run: | | |
mkdir spoiler | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.rb spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.rs spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.scala spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.scm spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.sci spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.sed spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.spl spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.sl spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.sml spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.sq spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.ss spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.tcl spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.tcsh spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.t spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.ts spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.unl spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.vala spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.mid spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.v spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.vim spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.vb spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.wasm spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.wat spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.ws spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.xslt spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.yab spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.yorick spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.azm spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.zsh spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.+ spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/qr.adb spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.als spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.aheui spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.a68 spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.ante spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.aj spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.asy spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.dats spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.awk spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.bash spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.bc spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.bsh spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.bef spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.Blc spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.bf spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.c spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.cpp spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.cs spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.chef spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.clj spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.cmake spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.cob spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.coffee spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.lisp spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.cr spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.d spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.dfy spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.dc spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.dhall spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.exs spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.el spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.erl spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.fsx spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.false spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.fl spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.fish spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.fs spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.f spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.f90 spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.gbs spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.g spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.gdb spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.gel spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.plt spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.go spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.gs spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.gpt spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.grass spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.groovy spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.gz spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.hs spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.hx spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.icn spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.i spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.j spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.java spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.js spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.jq spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.jsfuck spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.kt spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.ksh spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.lazy spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/qr.li spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.ls spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.ll spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.lol spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.lua spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.m4 spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.mk spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.mac spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.mzn spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.mod spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.il spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.mustache spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.asm spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.neko spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.5c spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.nim spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.m spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.ml spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.octave spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.ook spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.gp spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.p spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.pas spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.pl spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.pl6 spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.php spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.png spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.ps spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.ppt spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.prolog spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.pr spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.py spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.R spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.ratfor spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.rc spoiler/ | |
sudo docker cp qr:/usr/local/share/quine-relay/QR.rexx spoiler/ | |
cd spoiler | |
git init --quiet | |
git config user.name 'Yusuke Endoh' | |
git config user.email '[email protected]' | |
git add . | |
git commit -m spoiler --quiet | |
git push --force --quiet https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/mame/quine-relay.git master:spoiler | |
echo The intermediate sources are available: https://github.com/mame/quine-relay/tree/spoiler | |
if: github.event_name == 'push' && github.ref == 'refs/heads/master' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |