Skip to content

add virtual mem

add virtual mem #11

Workflow file for this run

name: Deploy
on:
push:
tags:
- "*"
jobs:
generate-tag-files:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- name: Generate tag files
uses: goreleaser/[email protected]
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-aur-package:
needs:
- generate-tag-files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
- name: Generate PKGBUILD
run: ./build/scripts/generate-pkgbuild.py
env:
RELEASE_TAG: ${{ steps.get_version.outputs.VERSION }}
- name: Publish peekprof to the AUR
uses: KSXGitHub/[email protected]
with:
pkgname: peekprof
pkgbuild: ./pkgbuild/peekprof/PKGBUILD
commit_username: ${{ secrets.AUR_USERNAME }}
commit_email: ${{ secrets.AUR_EMAIL }}
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: ${{ steps.get_version.outputs.VERSION }}
force_push: "true"