Aggiunto readme e workflow.
This commit is contained in:
parent
ea9bf4b29e
commit
c342eb0b28
2 changed files with 26 additions and 0 deletions
23
.gitea/workflows/build-publish.yml
Normal file
23
.gitea/workflows/build-publish.yml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: Build and publish
|
||||||
|
on: [create, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
pkgbuild:
|
||||||
|
runs-on: archlinux
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
- name: Fix permissions
|
||||||
|
run: /fixperms.sh
|
||||||
|
- name: Compile package
|
||||||
|
run: /paruw.sh "paru -Bi ${{ gitea.workspace }}"
|
||||||
|
- name: Setup go for publishing
|
||||||
|
uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '>=1.20.1'
|
||||||
|
- name: Upload Package Archive
|
||||||
|
uses: https://gitea.com/actions/gitea-release-action@v1
|
||||||
|
with:
|
||||||
|
files: "*.pkg.tar.zst"
|
||||||
|
api_key: ${{ secrets.APITOKEN_RELEASE }}
|
||||||
|
md5sum: true
|
3
README.md
Normal file
3
README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# `bit4id-opki` - Universal Middleware for Oberthur Cards by bit4id #
|
||||||
|
|
||||||
|
Bit4ID Universal Middleware (Oberthur Smart Card driver)
|
Reference in a new issue