Skip to content

Commit

Permalink
Add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedo committed May 21, 2024
1 parent 30ef20c commit ef6aacb
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: nixbuild/nix-quick-install-action@v28
- uses: actions/checkout@v4
- run: nix build
25 changes: 25 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deployment

on:
release:
types:
- created

jobs:
dist_linux:
runs-on: ubuntu-latest
steps:
- uses: nixbuild/nix-quick-install-action@v28
- uses: actions/checkout@v4
- name: build
run: nix bundle --bundler github:ralismark/nix-appimage/ecaffbe33535509cadb198f142849295f4dfeca4 . -o dedumi
- name: upload
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./dedumi
asset_name: dedumi-${{ github.event.release.tag_name }}-linux-x86_64.AppImage
asset_content_type: binary/octet-stream

0 comments on commit ef6aacb

Please sign in to comment.