Skip to content

Commit

Permalink
add initial workflow to build/publish
Browse files Browse the repository at this point in the history
  • Loading branch information
kopp committed Jul 10, 2020
1 parent e46e20a commit 3c7bbbb
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build_repository.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Make Repository

on: [push]

jobs:
build_repository:
runs-on: ubuntu-latest
steps:
- name: Get current time and date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%d %H:%M')"
- name: Build Packages
uses: kopp/build-aur-packages@d7104ff
with:
packages: mons
- name: List generated Files
run: ls -1 > ${{ github.workspace }}/files.txt
- name: Upload Files to Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: aurci2
name: aurci build ${{ github.run_number }} from ${{ steps.date.outputs.date }}
body: aurci build ${{ github.run_number }} from ${{ steps.date.outputs.date }}
files: |
${{ github.workspace }}/*
draft: false
prerelease: false

0 comments on commit 3c7bbbb

Please sign in to comment.