Skip to content

Commit

Permalink
[no ci] Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX authored Oct 24, 2024
1 parent 69be73c commit 9c92480
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,25 @@ on:
- draft
- release
jobs:
read-repo-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Outputs
id: out
run: |
echo "mcpelauncher-ref=$(cat mcpelauncher.commit)" >> $GITHUB_OUTPUT
outputs:
mcpelauncher-ref: ${{ steps.out.mcpelauncher-ref }}
ci:
needs: read-repo-files
if: (!cancelled())
uses: ./.github/workflows/main.yml
with:
publish: ${{ github.event_name == 'push' && github.server_url == 'https://github.com' || github.event_name == 'workflow_dispatch' && inputs.type == 'release' }}
use-repo-files: true
offset: 400
build-m1: true
draft: ${{ github.event_name == 'workflow_dispatch' && inputs.type == 'draft' }}
mcpelauncher-ref: ${{ needs.read-repo-files.outputs.mcpelauncher-ref || 'ng' }}
secrets: inherit

0 comments on commit 9c92480

Please sign in to comment.