Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Convert to systemd-sysext #1

Convert to systemd-sysext

Convert to systemd-sysext #1

Workflow file for this run

name: CI
on:
push:
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: sudo apt install -y ninja-build
- uses: actions/checkout@v2
- run: make
- uses: actions/upload-artifact@v2
with:
name: 'sysext'
path: 'sysext.raw'
release:
if: startsWith(github.ref, 'refs/tags/')
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
with:
name: 'sysext'
- id: release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
draft: false
prerelease: false
- uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.release.outputs.upload_url }}
asset_name: 'qemu-ga-${{ github.ref_name }}.raw'
asset_path: 'sysext.raw'
asset_content_type: application/octet-stream