Update llvm version in flatak manifest files #8
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
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
name: build-and-prerelease | ||
jobs: | ||
flatpak-release-target: | ||
name: Test build of flatpak release target | ||
runs-on: ubuntu-latest | ||
container: | ||
image: bilelmoussaoui/flatpak-github-actions:gnome-46 | ||
options: --privileged | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6.3 | ||
with: | ||
bundle: toolboxtuner-release.flatpak | ||
manifest-path: build-aux/org.kuchelmeister.ToolboxTuner.json | ||
run-tests: true | ||
cache-key: flatpak-builder-${{ github.sha }} | ||
upload-artifact: false | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: flatpak | ||
path: | | ||
*.flatpak | ||
flatpak-screenshot-target: | ||
name: Test build of screenshot target | ||
runs-on: ubuntu-latest | ||
container: | ||
image: bilelmoussaoui/flatpak-github-actions:gnome-46 | ||
options: --privileged | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6.3 | ||
with: | ||
bundle: toolboxtuner-screenshot.flatpak | ||
manifest-path: build-aux/org.kuchelmeister.ToolboxTuner.Screenshot.json | ||
run-tests: true | ||
cache-key: flatpak-builder-${{ github.sha }} | ||
upload-artifact: false | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: flatpak | ||
path: | | ||
*.flatpak | ||
flatpak-dev-target: | ||
name: Build flatpak dev/pre-release target | ||
runs-on: ubuntu-latest | ||
container: | ||
image: bilelmoussaoui/flatpak-github-actions:gnome-46 | ||
options: --privileged | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6.3 | ||
with: | ||
bundle: toolboxtuner-dev.flatpak | ||
manifest-path: build-aux/org.kuchelmeister.ToolboxTuner.Devel.json | ||
run-tests: true | ||
cache-key: flatpak-builder-${{ github.sha }} | ||
upload-artifact: false | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: flatpak | ||
path: | | ||
*.flatpak | ||
vendor: | ||
name: vendor-prerelease | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
- uses: dtolnay/rust-toolchain@stable | ||
- run: ./build-aux/dist-vendor.sh dist . && tar czf vendor.tar.gz dist | ||
- run: sha256sum vendor.tar.gz > vendor.tar.gz.sha256sum | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: vendor | ||
path: | | ||
*.tar.gz | ||
*.sha256sum | ||
publish-prerelease: | ||
name: publish-prerelease | ||
needs: [flatpak, vendor] | ||
Check failure on line 94 in .github/workflows/pre-release.yml GitHub Actions / build-and-prereleaseInvalid workflow file
|
||
runs-on: ubuntu-latest | ||
if: startsWith(github.ref_name, 'main') && github.ref_type == 'branch' | ||
steps: | ||
- uses: actions/download-artifact@v4 | ||
- name: Show files | ||
run: ls -R | ||
- uses: "dciborow/action-github-releases@v1.0.1" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
prerelease: true | ||
automatic_release_tag: dev | ||
title: 'Latest Development Build' | ||
files: | | ||
**/*-dev.flatpak | ||
**/*.tar.gz | ||
**/*.sha256sum | ||