Skip to content

Commit

Permalink
Merge pull request #87 from Hyperledger-TWGC/gradle
Browse files Browse the repository at this point in the history
Create gradle.yml
  • Loading branch information
SamYuan1990 authored Dec 20, 2023
2 parents efb54fd + f954fa8 commit fdcb689
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 53 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Publish package to GitHub Packages
on:
workflow_dispatch:
release:
types: [created]

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@ccb4328a959376b642e027874838f60f8e596de3
- name: Publish package
uses: gradle/gradle-build-action@749f47bda3e44aa060e82d7b3ef7e40d953bd629
with:
arguments: publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53 changes: 0 additions & 53 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit fdcb689

Please sign in to comment.