From 5f7573ffb94392f1782371924cec263888e2756a Mon Sep 17 00:00:00 2001 From: Serhii Londar Date: Thu, 16 Sep 2021 22:17:40 +0300 Subject: [PATCH] Update actions file --- .github/main.yml | 25 ------------------------- .github/workflows/main.yml | 21 ++++++++++----------- 2 files changed, 10 insertions(+), 36 deletions(-) delete mode 100644 .github/main.yml diff --git a/.github/main.yml b/.github/main.yml deleted file mode 100644 index 8845b63..0000000 --- a/.github/main.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: GitHub Actions Demo -on: [push] -jobs: - setup: - name: Setup - runs-on: macos-latest - steps: - run: gem install awesome_bot - run: gem install bundler - run: gem install danger - awesome-bot: - name: awesome-bot - needs: setup - runs-on: macos-latest - uses: actions/checkout@v2 - run: awesome_bot applications.json -w https://matrix.org,https://camo.githubusercontent.com,http://joshparnham.com,https://pock.pigigaldi.com,https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-6,https://adequate.systems/ --allow 429 - run: danger - generate-readme: - name: generate-readme - needs: awesome-bot - runs-on: macos-latest - uses: actions/checkout@v2 - run: swift ./.github/main.swift - run: chmod +x ./.github/deploy.sh - run: ./.github/deploy.sh diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c54b949..8845b63 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,25 +2,24 @@ name: GitHub Actions Demo on: [push] jobs: setup: - - name: Setup + name: Setup runs-on: macos-latest steps: - - run: gem install awesome_bot - - run: gem install bundler - - run: gem install danger + run: gem install awesome_bot + run: gem install bundler + run: gem install danger awesome-bot: - - name: awesome-bot + name: awesome-bot needs: setup runs-on: macos-latest - - uses: actions/checkout@v2 - - run: awesome_bot applications.json -w https://matrix.org,https://camo.githubusercontent.com,http://joshparnham.com,https://pock.pigigaldi.com,https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-6,https://adequate.systems/ --allow 429 - - run: danger + uses: actions/checkout@v2 + run: awesome_bot applications.json -w https://matrix.org,https://camo.githubusercontent.com,http://joshparnham.com,https://pock.pigigaldi.com,https://docs.microsoft.com/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-6,https://adequate.systems/ --allow 429 + run: danger generate-readme: - - name: generate-readme + name: generate-readme needs: awesome-bot runs-on: macos-latest - - uses: actions/checkout@v2 + uses: actions/checkout@v2 run: swift ./.github/main.swift run: chmod +x ./.github/deploy.sh run: ./.github/deploy.sh - \ No newline at end of file