Add informational styling to graph edges #93
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
name: Pack Randomizer | |
on: | |
workflow_dispatch: # Allows manual triggers | |
push: | |
branches: | |
- main | |
paths: | |
- "Dolphin scripts/Entrance Randomizer/**" | |
- "Dolphin scripts/pack-rando.ps1" | |
- "Various technical notes/transition_infos.json" | |
- ".github/workflows/pack-randomizer.yaml" | |
pull_request: | |
branches: | |
- main | |
paths: | |
- "Dolphin scripts/Entrance Randomizer/**" | |
- "Dolphin scripts/pack-rando.ps1" | |
- "Various technical notes/transition_infos.json" | |
- ".github/workflows/pack-randomizer.yaml" | |
env: | |
PIP_DISABLE_PIP_VERSION_CHECK: 1 | |
FORCE_COLOR: 1 | |
jobs: | |
pack: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: '& "Dolphin scripts/pack-rando.ps1"' | |
shell: pwsh | |
# upload-artifact will double zip, so unpack first | |
# https://github.com/actions/upload-artifact/issues/39 | |
- name: Get pack filename | |
id: packname | |
run: | | |
echo "packname=$( | |
find -name 'Entrance Randomizer v*.zip' | sed 's/\.zip$//1' | sed 's/^\.\///1' | |
)" >> $GITHUB_OUTPUT | |
- name: Extract premade archive | |
run: | | |
7z x \ | |
'${{ steps.packname.outputs.packname }}.zip' \ | |
-o'${{ steps.packname.outputs.packname }}' | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ steps.packname.outputs.packname }} | |
path: ${{ steps.packname.outputs.packname }}/* |