Skip to content

Commit

Permalink
Automatically build and publish new releases
Browse files Browse the repository at this point in the history
  • Loading branch information
mat128 committed Sep 14, 2022
1 parent 1b20119 commit 8345ac2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Makefile CI
name: "Build"

on:
push:
Expand All @@ -8,11 +8,12 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Build package
run: make all
- name: Build package
run: |
make clean
make all
26 changes: 26 additions & 0 deletions .github/workflows/release-on-tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Release on new tags"

on:
push:
tags:
- "v*"

jobs:
tagged-release:
runs-on: "ubuntu-latest"

steps:
- uses: actions/checkout@v3

- name: Build package
run: |
make clean
make all
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
files: |
LICENSE
out/purpleship.sh

0 comments on commit 8345ac2

Please sign in to comment.