Skip to content

Commit

Permalink
Use Shared Action workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneeVandervelde committed Jun 27, 2024
1 parent 388d0d4 commit 88f2a1a
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 150 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/checks.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
on: [pull_request]
jobs:
tests:
uses: inkapplications/.github/.github/workflows/[email protected]
7 changes: 7 additions & 0 deletions .github/workflows/pushes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: Latest Build
on:
push:
branches: [master]
jobs:
tests:
uses: inkapplications/.github/.github/workflows/[email protected]
112 changes: 0 additions & 112 deletions .github/workflows/releases.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/snapshots.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release
on:
push:
tags: ['*']
env:
GITHUB_TAG: ${{ github.ref }}
jobs:
tests:
name: Test
uses: inkapplications/.github/.github/workflows/[email protected]
publish:
name: Publish to Maven Central
nees: tests
uses: inkapplications/.github/.github/workflows/[email protected]
with:
version: ${{ github.ref_name }}
publish-android: true
draft-release:
name: Draft Github Release
needs: [publish]
runs-on: ubuntu-latest
steps:
- name: Create Release
id: create_release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref_name }}
draft: true
prerelease: false
body: "See CHANGELOG.md for details"

0 comments on commit 88f2a1a

Please sign in to comment.