mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-05-06 17:20:07 +00:00
Compare commits
No commits in common. "b617456aa106b451ae492610ccb3d44c970e0a22" and "43a25043570b2119bb97f2f8ceb795a3e98ea7c0" have entirely different histories.
b617456aa1
...
43a2504357
8
.github/workflows/check-builds.yaml
vendored
8
.github/workflows/check-builds.yaml
vendored
@ -8,7 +8,6 @@ on:
|
|||||||
- .github/workflows/check-builds.yaml
|
- .github/workflows/check-builds.yaml
|
||||||
- CMakeLists.txt
|
- CMakeLists.txt
|
||||||
- Makefile
|
- Makefile
|
||||||
- tdata
|
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, reopened, synchronize, ready_for_review]
|
types: [opened, reopened, synchronize, ready_for_review]
|
||||||
paths:
|
paths:
|
||||||
@ -20,7 +19,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ubuntu-build:
|
ubuntu-build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set environment
|
- name: Set environment
|
||||||
run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
|
run: echo "SHORT_SHA=${GITHUB_SHA::7}" >> $GITHUB_ENV
|
||||||
@ -49,7 +48,6 @@ jobs:
|
|||||||
Rename-Item -Path "bin/fusion" -newName "$version-fusion"
|
Rename-Item -Path "bin/fusion" -newName "$version-fusion"
|
||||||
Write-Output "Built version $version"
|
Write-Output "Built version $version"
|
||||||
}
|
}
|
||||||
Copy-Item -Path "tdata" -Destination "bin/tdata" -Recurse
|
|
||||||
Copy-Item -Path "sql" -Destination "bin/sql" -Recurse
|
Copy-Item -Path "sql" -Destination "bin/sql" -Recurse
|
||||||
Copy-Item -Path "config.ini" -Destination "bin"
|
Copy-Item -Path "config.ini" -Destination "bin"
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
@ -102,7 +100,6 @@ jobs:
|
|||||||
}
|
}
|
||||||
Rename-Item -Path "bin/$configuration" -newName "$version-$configuration"
|
Rename-Item -Path "bin/$configuration" -newName "$version-$configuration"
|
||||||
Write-Output "Built version $version $configuration"
|
Write-Output "Built version $version $configuration"
|
||||||
Copy-Item -Path "tdata" -Destination "bin/$version-$configuration/tdata" -Recurse
|
|
||||||
Copy-Item -Path "sql" -Destination "bin/$version-$configuration/sql" -Recurse
|
Copy-Item -Path "sql" -Destination "bin/$version-$configuration/sql" -Recurse
|
||||||
Copy-Item -Path "config.ini" -Destination "bin/$version-$configuration"
|
Copy-Item -Path "config.ini" -Destination "bin/$version-$configuration"
|
||||||
}
|
}
|
||||||
@ -115,7 +112,7 @@ jobs:
|
|||||||
path: bin
|
path: bin
|
||||||
|
|
||||||
copy-artifacts:
|
copy-artifacts:
|
||||||
if: github.event_name != 'pull_request' && (github.ref_type == 'tag' || github.ref_name == 'master')
|
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [windows-build, ubuntu-build]
|
needs: [windows-build, ubuntu-build]
|
||||||
env:
|
env:
|
||||||
@ -124,6 +121,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: |
|
- run: |
|
||||||
GITDESC=$(git describe --tags)
|
GITDESC=$(git describe --tags)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user