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

MANUAL: Update Local PKGBUILDs #19

MANUAL: Update Local PKGBUILDs

MANUAL: Update Local PKGBUILDs #19

Workflow file for this run

name: 'MANUAL: Update Local PKGBUILDs'
on:
workflow_dispatch:
inputs:
version:
description: "version that should be released"
required: true
type: string
jobs:
release:
runs-on: ubuntu-latest
steps:
# Checkout the branch
- name: checkout
uses: actions/checkout@v3
- name: setup go
uses: actions/setup-go@v3
with:
go-version: '>=1.17.0'
# runs go to generate the update
- run: make update
# Commit changes
- name: setup git config
run: |
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: commit
run: |
echo '${{ github.event.inputs.version }}'
git add mondoo/PKGBUILD
git add mondoo/.SRCINFO
git add cnquery/PKGBUILD
git add cnquery/.SRCINFO
git add cnspec/PKGBUILD
git add cnspec/.SRCINFO
git commit -m '${{ github.event.inputs.version }}'
git push origin master