Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Syrent committed Jun 1, 2024
2 parents ae50e8d + f0dbbef commit 65d0137
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Publish Snapshots
name: Build artifacts
on:
push:
branches:
- master

jobs:
publish:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
Expand All @@ -26,8 +26,3 @@ jobs:
key: ${{ runner.OS }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.OS }}-gradle-
- name: Publish to SayanDevelopment snapshot repo
run: ./gradlew publish
env:
REPO_SAYAN_USER: ${{ secrets.REPO_SAYAN_USER }}
REPO_SAYAN_TOKEN: ${{ secrets.REPO_SAYAN_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/publish-sayanrepo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Publish Snapshots
on:
workflow_run:
workflows: ["Build artifacts"]
types:
- completed

jobs:
publish_to_sayanrepo:
runs-on: ubuntu-22.04
steps:
- name: Publish to SayanDevelopment snapshot repo
run: ./gradlew publish
env:
REPO_SAYAN_USER: ${{ secrets.REPO_SAYAN_USER }}
REPO_SAYAN_TOKEN: ${{ secrets.REPO_SAYAN_TOKEN }}

0 comments on commit 65d0137

Please sign in to comment.