From c8ea0b00e8196aad229327e13e9a0e07e23cc57c Mon Sep 17 00:00:00 2001 From: "Daniel A. A. Pelsmaeker" Date: Tue, 9 Jul 2024 17:22:12 +0200 Subject: [PATCH] Add publish workflow --- .github/workflows/dependencies.yaml | 11 +++++++++++ .github/workflows/publish.yaml | 17 +++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/dependencies.yaml create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/dependencies.yaml b/.github/workflows/dependencies.yaml new file mode 100644 index 0000000..2dfa0ef --- /dev/null +++ b/.github/workflows/dependencies.yaml @@ -0,0 +1,11 @@ +--- +name: 'Submit Dependencies' + +on: # yamllint disable-line rule:truthy + push: + branches: + - master + +jobs: + build: + uses: metaborg/actions/.github/workflows/gradle-dependencies.yaml@main diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..40f8533 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,17 @@ +--- +name: 'Publish' + +on: # yamllint disable-line rule:truthy + push: + tags: + - "release-*.*.*" + +jobs: + build: + uses: metaborg/actions/.github/workflows/gradle-publish.yaml@main + secrets: + METABORG_ARTIFACTS_USERNAME: ${{ secrets.METABORG_ARTIFACTS_USERNAME }} + METABORG_ARTIFACTS_PASSWORD: ${{ secrets.METABORG_ARTIFACTS_PASSWORD }} + # SIGNING_KEY_ID: ${{ secrets.SIGNING_KEY_ID }} + # SIGNING_KEY_PASSWORD: ${{ secrets.SIGNING_KEY_PASSWORD }} + # SIGNING_KEY: ${{ secrets.SIGNING_KEY }}