Skip to content

docs: Add age rating, drop validation steps which would require netwo… #13

docs: Add age rating, drop validation steps which would require netwo…

docs: Add age rating, drop validation steps which would require netwo… #13

Workflow file for this run

name: Flatpak CI
on:
push:
pull_request:
jobs:
build-linux:
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:gnome-44
options: --privileged
steps:
- uses: actions/checkout@v3
- uses: flatpak/flatpak-github-actions/[email protected]
with:
bundle: com.pojtinger.felicitas.Vintangle.flatpak
manifest-path: com.pojtinger.felicitas.Vintangle.yaml
cache-key: flatpak-builder-${{ github.sha }}
- name: Extract branch name
id: extract_branch
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
- name: Publish pre-release bundle to GitHub releases
if: ${{ github.ref == 'refs/heads/main' }}
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: release-${{ steps.extract_branch.outputs.branch }}
prerelease: true
files: |
*.flatpak
- name: Publish release to GitHub releases
if: startsWith(github.ref, 'refs/tags/v')
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false