mirror of
https://github.com/danbulant/nekofetch
synced 2026-06-21 07:31:58 +00:00
Compare commits
17 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
23253e9bdf | ||
|
|
945089a3ef | ||
|
|
c66d50e589 | ||
|
|
5a07732863 | ||
|
|
bf832c359f | ||
|
|
7aa3657ed9 | ||
|
|
485f16cfed | ||
|
|
31836682c1 | ||
|
|
af216e7f09 | ||
|
|
2f5e423a0f | ||
|
|
4e239543c8 | ||
|
|
ee5ee14a5c | ||
|
|
03bb78518e | ||
|
|
1a713cf57c | ||
|
|
576ab0b58a | ||
|
|
ea4e2b5346 | ||
|
|
77877605f7 |
3 changed files with 116 additions and 0 deletions
48
.github/workflows/integration.yml
vendored
Normal file
48
.github/workflows/integration.yml
vendored
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# Build a deb artifact on commit
|
||||
|
||||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run shellcheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build deb for iphoneos-arm
|
||||
uses: jiro4989/build-deb-action@v2
|
||||
with:
|
||||
package: nekofetch
|
||||
package_root: debpkg
|
||||
maintainer: propr and bbaovanc
|
||||
version: 0.2
|
||||
arch: 'iphoneos-arm'
|
||||
desc: 'neofetch with nekos'
|
||||
- name: Build deb for amd64
|
||||
uses: jiro4989/build-deb-action@v2
|
||||
with:
|
||||
package: nekofetch
|
||||
package_root: debpkg
|
||||
maintainer: propr and bbaovanc
|
||||
version: 0.2
|
||||
arch: 'amd64'
|
||||
desc: 'neofetch with nekos'
|
||||
|
||||
- name: Upload iphoneos-arm deb as artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: iphoneos-arm-deb
|
||||
path: nekofetch*iphoneos-arm.deb
|
||||
- name: Upload amd64 deb as artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: amd64-deb
|
||||
path: nekofetch*amd64.deb
|
||||
68
.github/workflows/release.yml
vendored
Normal file
68
.github/workflows/release.yml
vendored
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
name: Upload release assets
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Upload assets to release
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Get version
|
||||
id: version
|
||||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\/v/}
|
||||
|
||||
- name: Create release
|
||||
id: create_release
|
||||
uses: actions/create-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ github.ref }}
|
||||
release_name: ${{ github.ref }}
|
||||
draft: true
|
||||
prerelease: false
|
||||
|
||||
- name: Build deb for iphoneos-arm
|
||||
uses: jiro4989/build-deb-action@v2
|
||||
with:
|
||||
package: nekofetch
|
||||
package_root: debpkg
|
||||
maintainer: propr and bbaovanc
|
||||
version: 0.2
|
||||
arch: 'iphoneos-arm'
|
||||
desc: 'neofetch with nekos'
|
||||
- name: Build deb for amd64
|
||||
uses: jiro4989/build-deb-action@v2
|
||||
with:
|
||||
package: nekofetch
|
||||
package_root: debpkg
|
||||
maintainer: propr and bbaovanc
|
||||
version: 0.2
|
||||
arch: 'amd64'
|
||||
desc: 'neofetch with nekos'
|
||||
|
||||
- name: Upload iphoneos-arm asset
|
||||
id: upload-iphoneos-arm-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./nekofetch_${{ steps.version.outputs.VERSION }}_iphoneos-arm.deb
|
||||
asset_name: nekofetch_${{ steps.version.outputs.VERSION }}_iphoneos-arm.deb
|
||||
asset_content_type: application/vnd.debian.binary-package
|
||||
- name: Upload amd64 asset
|
||||
id: upload-amd64-asset
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||
asset_path: ./nekofetch_${{ steps.version.outputs.VERSION }}_amd64.deb
|
||||
asset_name: nekofetch_${{ steps.version.outputs.VERSION }}_amd64.deb
|
||||
asset_content_type: application/vnd.debian.binary-package
|
||||
Loading…
Reference in a new issue