Skip to content

Commit

Permalink
ci: Create build and release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Maverobot committed Jan 6, 2024
1 parent 327ecc9 commit 0cf5661
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: fish AppImage
name: Build fish AppImage

on:
push:
branches: [ main ]
tags:
- '*' # Push events to every tag not containing /
pull_request:
branches: [ main ]

Expand All @@ -31,4 +29,6 @@ jobs:
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: true
title: "Development Build"
automatic_release_tag: "latest"
files: './fish*.AppImage*'
31 changes: 31 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Release fish AppImage

on:
push:
tags:
- '*' # Push events to every tag not containing /
workflow_dispatch:

jobs:
installer-check:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build AppImage
uses: AppImageCrafters/build-appimage@v1
with:
recipe: AppImageBuilder.yml

- name: Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
title: "Release Build"
prerelease: false
files: './fish*.AppImage*'

0 comments on commit 0cf5661

Please sign in to comment.