From 57d3ed482891b9bb152746810597335b00a604fe Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sat, 19 Dec 2020 03:23:43 +0100 Subject: [PATCH] Unused --- .dev/readme.md | 11 ------ .dev/release.yml | 87 ------------------------------------------------ 2 files changed, 98 deletions(-) delete mode 100644 .dev/readme.md delete mode 100644 .dev/release.yml diff --git a/.dev/readme.md b/.dev/readme.md deleted file mode 100644 index 75e61f9..0000000 --- a/.dev/readme.md +++ /dev/null @@ -1,11 +0,0 @@ -https://github.com/homoluctus/slatify/ -https://github.com/technote-space/toc-generator/commit/06ca2702bc545e4c2a31bc8b6cfd052de59b0af5/checks?check_suite_id=250009775 -https://github.com/technote-space/release-github-actions - - -docker buildx rm builder -docker run --rm --privileged multiarch/qemu-user-static:register --reset -p yes --credential yes -docker buildx create --name builder --driver docker-container --use -docker buildx inspect --bootstrap - -docker buildx build --platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/386,linux/ppc64le,linux/s390x --output "type=image,push=false" -t buildx --file ./test/Dockerfile-sudo ./test diff --git a/.dev/release.yml b/.dev/release.yml deleted file mode 100644 index fa0edb9..0000000 --- a/.dev/release.yml +++ /dev/null @@ -1,87 +0,0 @@ -name: release - -on: - create - -on: - push: - branches: - - releases/* - paths: - - src/* - -jobs: - release: - runs-on: ubuntu-18.04 - steps: - - - name: Checkout - uses: actions/checkout@v1 - with: - ref: remotes/origin/releases/v1 - - - name: Git checkout - run: git checkout -b releases/v1 - - - name: Install - run: npm install - - - name: Build - run: npm run build - - - name: Not ignore node_modules - run: sed -i '/node_modules*/d' .gitignore - - - name: Install production deps - run: | - rm -rf node_modules - npm install --production - - - name: Setup Git - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - git config user.name "${GITHUB_ACTOR}" - git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" - git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - - - name: Git commit - run: | - git add -A - DIFF=`git diff --cached --numstat | wc -l` - if [ $DIFF -eq 0 ]; then - exit 0 - fi - git commit -am 'Build for release' - - - name: Git push - run: git push origin HEAD - - check: - runs-on: ubuntu-18.04 - needs: release - strategy: - matrix: - version: - - latest - - v0.2.2 - steps: - - - name: Checkout - uses: actions/checkout@v1 - - - name: Set up Docker Buildx - id: buildx - uses: crazy-max/ghaction-docker-buildx@releases/v1 - with: - version: ${{ matrix.version }} - - - name: Available platforms - run: echo ${{ steps.buildx.outputs.platforms }} - - - name: Run Buildx - run: | - docker buildx build \ - --platform linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/s390x \ - --output "type=image,push=false" \ - --file ./test/Dockerfile ./test