From c342eb0b28690c02e595bb21407edaf131af4f7f Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sun, 3 Mar 2024 23:11:40 +0100 Subject: [PATCH] Aggiunto readme e workflow. --- .gitea/workflows/build-publish.yml | 23 +++++++++++++++++++++++ README.md | 3 +++ 2 files changed, 26 insertions(+) create mode 100644 .gitea/workflows/build-publish.yml create mode 100644 README.md diff --git a/.gitea/workflows/build-publish.yml b/.gitea/workflows/build-publish.yml new file mode 100644 index 0000000..6c12b46 --- /dev/null +++ b/.gitea/workflows/build-publish.yml @@ -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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..8a869fd --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# `bit4id-opki` - Universal Middleware for Oberthur Cards by bit4id # + +Bit4ID Universal Middleware (Oberthur Smart Card driver)