Workflow file for this run
This file contains 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
on: push | |
jobs: | |
publish: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Vars | |
id: setup-vars | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
core.setOutput("owner", context.repo.owner) | |
core.setOutput("repo", context.repo.repo) | |
- name: Download Everything | |
uses: actions/download-artifact@v4 | |
with: | |
path: output | |
pattern: dmg-* | |
merge-multiple: true | |
run-id: 176 | |
- name: Download ghr | |
run: | | |
curl -L https://github.com/tcnksm/ghr/releases/download/v0.13.0/ghr_v0.13.0_linux_amd64.tar.gz --output ghr.tar.gz | |
tar -xf ghr.tar.gz | |
- name: Upload Nightly | |
run: | | |
./ghr*/ghr -t ${{ secrets.GITHUB_TOKEN }} -u ${{ steps.setup-vars.outputs.owner }} -r ${{ steps.setup-vars.outputs.repo }} -b "$LAUNCHER_RELEASE_DESCRIPTION" -replace "nightly" output/ | |
env: | |
LAUNCHER_RELEASE_DESCRIPTION: | | |
This release appends assets every day, the one with the highest number is the latest one. | |
Please use releases from https://mcpelauncher.readthedocs.io/. | |
Builds from this tag are very very unstable, but new changes lands here earlier. |