Skip to content

Commit

Permalink
Update snapshots.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwaffle4 authored Dec 1, 2024
1 parent bfbddfe commit cb67dde
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-gradle

name: Gradle Package
name: Publish Snapshots

on:
push
push:
branches:
- 'master'

jobs:
build:
Expand Down Expand Up @@ -36,7 +38,7 @@ jobs:

# The USERNAME and TOKEN need to correspond to the credentials environment variables used in
# the publishing section of your build.gradle
- name: Publish to GitHub Packages
- name: Publish to Dairy Snapshots
run: ./gradlew publishAllPublicationsToDairySnapshotsRepository
env:
dairySnapshotsUsername: ${{ secrets.SNAPSHOTS_USERNAME }}
Expand Down

0 comments on commit cb67dde

Please sign in to comment.