tweak naming
This commit is contained in:
parent
5a9f4f9a89
commit
f361943443
2 changed files with 37 additions and 2 deletions
37
.github/workflows/build_all.yml
vendored
37
.github/workflows/build_all.yml
vendored
|
@ -41,9 +41,32 @@ concurrency:
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
build_all:
|
||||||
|
name: Build All
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- os: ubuntu-20.04
|
||||||
|
- os: ubuntu-24.04
|
||||||
|
- os: windows-latest
|
||||||
|
- os: macos-14
|
||||||
|
arch: x86_64
|
||||||
|
- os: macos-14
|
||||||
|
arch: arm64
|
||||||
|
uses: ./.github/workflows/build_check_cache.yml
|
||||||
|
with:
|
||||||
|
os: ${{ matrix.os }}
|
||||||
|
arch: ${{ matrix.arch }}
|
||||||
|
build-deps-only: ${{ inputs.build-deps-only || false }}
|
||||||
|
secrets: inherit
|
||||||
flatpak:
|
flatpak:
|
||||||
name: "Flatpak"
|
name: "Flatpak"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
date:
|
||||||
|
ver:
|
||||||
|
ver_pure:
|
||||||
container:
|
container:
|
||||||
image: bilelmoussaoui/flatpak-github-actions:gnome-46
|
image: bilelmoussaoui/flatpak-github-actions:gnome-46
|
||||||
options: --privileged
|
options: --privileged
|
||||||
|
@ -53,8 +76,20 @@ jobs:
|
||||||
run:
|
run:
|
||||||
sudo rm -rf /usr/share/dotnet /opt/ghc "/usr/local/share/boost" "$AGENT_TOOLSDIRECTORY"
|
sudo rm -rf /usr/share/dotnet /opt/ghc "/usr/local/share/boost" "$AGENT_TOOLSDIRECTORY"
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Get the version and date
|
||||||
|
run: |
|
||||||
|
ver_pure=$(grep 'set(SoftFever_VERSION' version.inc | cut -d '"' -f2)
|
||||||
|
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
|
||||||
|
ver="PR-${{ github.event.number }}"
|
||||||
|
else
|
||||||
|
ver=V$ver_pure
|
||||||
|
fi
|
||||||
|
echo "ver=$ver" >> $GITHUB_ENV
|
||||||
|
echo "ver_pure=$ver_pure" >> $GITHUB_ENV
|
||||||
|
echo "date=$(date +'%Y%m%d')" >> $GITHUB_ENV
|
||||||
|
shell: bash
|
||||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||||
with:
|
with:
|
||||||
bundle: orcaslicer.flatpak
|
bundle: OrcaSlicer-Linux_${{ env.ver }}.flatpak
|
||||||
manifest-path: flatpak/io.github.softfever.OrcaSlicer.yml
|
manifest-path: flatpak/io.github.softfever.OrcaSlicer.yml
|
||||||
cache: true
|
cache: true
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
<description>
|
<description>
|
||||||
<p>A 3D printer slicer forked from Bambu Studio, PrusaSlicer, and SuperSlicer with many more printer profiles, helpful calibration prints, and many more features to get your 3D printer printing perfectly!</p>
|
<p>A powerful, free and open-source 3D printer slicer that features cutting-edge technology.</p>
|
||||||
</description>
|
</description>
|
||||||
<branding>
|
<branding>
|
||||||
<color type="primary" scheme_preference="light">#009688</color>
|
<color type="primary" scheme_preference="light">#009688</color>
|
||||||
|
|
Loading…
Reference in a new issue