Update splat to 0.34.1 #107
Workflow file for this run
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: build | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| if: ${{ github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout this repo | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Checkout baserom | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: mkst/conker-private | |
| token: ${{ secrets.PRIVATE_REPO_ACCESS }} | |
| path: baserom | |
| - name: Decrypt baserom | |
| run: echo ${{ secrets.CONKER_BASEROM_US }} | openssl enc -d -aes-256-cbc -pass stdin -pbkdf2 -in baserom/baserom.us.z64.aes -out baserom.us.z64 | |
| - name: Perform make extract (rom) | |
| uses: docker://ghcr.io/mkst/conker:latest | |
| with: | |
| args: make extract | |
| - name: Perform make extract (code) | |
| uses: docker://ghcr.io/mkst/conker:latest | |
| with: | |
| args: sh -c "cd conker && make extract" | |
| - name: Perform make (code) | |
| uses: docker://ghcr.io/mkst/conker:latest | |
| with: | |
| args: sh -c "cd conker && make --jobs" | |
| - name: Perform make replace | |
| uses: docker://ghcr.io/mkst/conker:latest | |
| with: | |
| args: sh -c "cd conker && make replace" | |
| - name: Perform make | |
| uses: docker://ghcr.io/mkst/conker:latest | |
| with: | |
| args: make --jobs | |
| - name: Create progress.csv | |
| uses: docker://ghcr.io/mkst/conker:latest | |
| with: | |
| args: sh -c "cd conker && make progress" | |
| - name: Create progress_filename variable | |
| id: vars | |
| shell: bash | |
| run: | | |
| echo "::set-output name=progress_filename::$(echo ${GITHUB_SHA}.$(git show -s --format=%at ${GITHUB_SHA}).csv)" | |
| - name: Rename progress.csv | |
| run: mv conker/progress.csv "${{ steps.vars.outputs.progress_filename }}" | |
| - name: Push progress.csv to conker-website repo | |
| if: ${{ github.event_name == 'push' }} | |
| uses: dmnemec/copy_file_to_another_repo_action@bbebd3da22e4a37d04dca5f782edd5201cb97083 | |
| env: | |
| API_TOKEN_GITHUB: ${{ secrets.WEBSITE_REPO_ACCESS }} | |
| with: | |
| source_file: "${{ steps.vars.outputs.progress_filename }}" | |
| destination_repo: 'mkst/conker-website' | |
| destination_folder: 'progress/data' | |
| destination_branch: 'master' | |
| user_email: 'streetster@gmail.com' | |
| user_name: 'mkst' |