mirror of
https://github.com/MonsterDruide1/OdysseyDecomp.git
synced 2025-02-18 20:29:13 +00:00
Attempts to fix some issues with workflow (#22)
This commit is contained in:
parent
adade9feb4
commit
5e416927a0
5
.github/workflows/clean-headers.yml
vendored
5
.github/workflows/clean-headers.yml
vendored
@ -24,10 +24,13 @@ jobs:
|
||||
run: |
|
||||
if [[ $GITHUB_EVENT_NAME == 'pull_request_target' ]]
|
||||
then
|
||||
echo "REF: $GITHUB_REF_NAME, attempted match: `expr match "$GITHUB_REF_NAME" '.*\(^[0-9]*\)/'`"
|
||||
echo "HEADER_BRANCH=pr-`expr match "$GITHUB_REF_NAME" '.*\(^[0-9]*\)/'`" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "HEADER_BRANCH=$GITHUB_REF_NAME" >> "$GITHUB_ENV"
|
||||
echo "HEADER_BRANCH=$DELETED_BRANCH" >> "$GITHUB_ENV"
|
||||
fi
|
||||
env:
|
||||
DELETED_BRANCH: ${{ github.event.ref }}
|
||||
- name: Delete branch from OdysseyHeaders
|
||||
run: |
|
||||
cd OdysseyHeaders
|
||||
|
1
.github/workflows/copy-headers.yml
vendored
1
.github/workflows/copy-headers.yml
vendored
@ -34,6 +34,7 @@ jobs:
|
||||
run: |
|
||||
if [[ $GITHUB_EVENT_NAME == 'pull_request_target' ]]
|
||||
then
|
||||
echo "REF: $GITHUB_REF_NAME, attempted match: `expr match "$GITHUB_REF_NAME" '.*\(^[0-9]*\)/'`"
|
||||
echo "HEADER_BRANCH=pr-`expr match "$GITHUB_REF_NAME" '.*\(^[0-9]*\)/'`" >> "$GITHUB_ENV"
|
||||
else
|
||||
echo "HEADER_BRANCH=$GITHUB_REF_NAME" >> "$GITHUB_ENV"
|
||||
|
2
.github/workflows/progress.yml
vendored
2
.github/workflows/progress.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Set up dependencies
|
||||
run: sudo apt install -y ninja-build cmake ccache clang curl libncurses5
|
||||
run: sudo apt update && sudo apt install -y ninja-build cmake ccache clang curl libncurses5
|
||||
- name: Set up python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user