From ce4b1f1b4230c29e06210b2fc9ed7399b20b759e Mon Sep 17 00:00:00 2001 From: RyzenDew <84041391+RyzenDew@users.noreply.github.com> Date: Sat, 16 Mar 2024 12:18:36 -0300 Subject: [PATCH] Delete .github/workflows/publish.yml --- .github/workflows/publish.yml | 59 ----------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index f3faf5d20..000000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: citra-publish - -on: - schedule: - - cron: '7 0 * * *' - workflow_dispatch: - inputs: - nightly: - description: 'Whether to trigger a nightly build (true/false/auto)' - required: false - default: 'true' - canary: - description: 'Whether to trigger a canary build (true/false/auto)' - required: false - default: 'true' - -jobs: - nightly: - runs-on: ubuntu-latest - if: ${{ github.event.inputs.nightly != 'false' && github.repository == 'RyzenDew/Lime-3DS-Emulator' }} - steps: - # this checkout is required to make sure the GitHub Actions scripts are available - - uses: actions/checkout@v4 - name: Pre-checkout - with: - submodules: false - - uses: actions/github-script@v7 - id: check-changes - name: 'Check for new changes' - env: - # 24 hours - DETECTION_TIME_FRAME: 86400000 - with: - result-encoding: string - script: | - if (context.payload.inputs && context.payload.inputs.nightly === 'true') return true; - const checkBaseChanges = require('./.github/workflows/ci-merge.js').checkBaseChanges; - return checkBaseChanges(github, context); - - run: npm install execa@5 - if: ${{ steps.check-changes.outputs.result == 'true' }} - - uses: actions/checkout@v4 - name: Checkout - if: ${{ steps.check-changes.outputs.result == 'true' }} - with: - path: 'citra-merge' - fetch-depth: 0 - submodules: true - token: ${{ secrets.BUILD_MAGIC }} - - uses: actions/github-script@v7 - name: 'Update and tag new commits' - if: ${{ steps.check-changes.outputs.result == 'true' }} - env: - ALT_GITHUB_TOKEN: ${{ secrets.BUILD_MAGIC }} - with: - script: | - const execa = require("execa"); - const tagAndPush = require('./.github/workflows/ci-merge.js').tagAndPush; - process.chdir('${{ github.workspace }}/citra-merge'); - tagAndPush(github, context.repo.owner, `${context.repo.repo}-nightly`, execa);