Skip to content

Update publish-sayanrepo.yml #20

Update publish-sayanrepo.yml

Update publish-sayanrepo.yml #20

name: Publish Snapshots
on:
push:
branches:
- master
jobs:
build:
uses: syrent/sayanvanish/.github/workflows/build-artifacts.yml@master
publish_to_sayanrepo:
needs: build
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
- name: Publish to SayanDevelopment snapshot repo
run: ./gradlew publish
env:
REPO_SAYAN_USER: ${{ secrets.REPO_SAYAN_USER }}
REPO_SAYAN_TOKEN: ${{ secrets.REPO_SAYAN_TOKEN }}