fix: Unable to replace lower-tier item conduit with higher tier. #860
This file contains hidden or 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: Nightly Build | |
| env: | |
| BUILD_NUMBER: ${{ github.run_number }} | |
| # Run on all develop pushes | |
| on: | |
| push: | |
| branches: # These rules cover old and new version schemes. 26.1-snapshot-1, 1.21.1, etc. | |
| - '[0-9]*.[0-9]*' | |
| - '[0-9]*.[0-9]*-*' | |
| - '[0-9]*.[0-9]*.[0-9]*' | |
| - '[0-9]*.[0-9]*.[0-9]*-*' | |
| # Cancel if a new push is sent | |
| # https://stackoverflow.com/a/70972844 | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 21 | |
| distribution: 'temurin' | |
| - uses: gradle/actions/setup-gradle@v3 | |
| - name: Build | |
| run: ./gradlew build | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: nightly-build | |
| path: | | |
| enderio/build/libs/*.jar | |
| - name: Discord Notification Success | |
| uses: tsickert/[email protected] | |
| with: | |
| webhook-url: ${{ secrets.NIGHTLY_DISCORD_WEBHOOK }} | |
| embed-title: New Nightly Build built from ${{ github.ref_name }} | |
| embed-description: A new nightly build of Ender IO has been built from the following commit. If you play with this, please remember to report issues! ```${{ github.event.head_commit.message }}``` | |
| avatar-url: https://raw.githubusercontent.com/Team-EnderIO/EnderIO/dev/1.20.1/doc/img/enderface.png | |
| username: Ender IO Nightowl | |
| embed-footer-text: Build number ${{ github.run_number }} from ${{ github.ref_name }} | |
| embed-url: https://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}/nightly-build.zip # NOTE: Must match "name" of the artifact as set above. | |
| embed-color: 5763719 | |
| - name: Discord Notification Failure | |
| if: failure() | |
| uses: tsickert/[email protected] | |
| with: | |
| webhook-url: ${{ secrets.NIGHTLY_DISCORD_WEBHOOK }} | |
| embed-title: Nightly Build Failed from ${{ github.ref_name }} | |
| embed-description: The nightly build failed to compile at this commit. ```${{ github.event.head_commit.message }}``` | |
| avatar-url: https://raw.githubusercontent.com/Team-EnderIO/EnderIO/dev/1.20.1/doc/img/gray-enderface.png | |
| username: Ender IO Nightowl | |
| embed-footer-text: Build number ${{ github.run_number }} from ${{ github.ref_name }} | |
| embed-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | |
| embed-color: 15548997 |