We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 35ace30 commit c6c1fe4Copy full SHA for c6c1fe4
1 file changed
.github/workflows/ado_artifacts_build.yml
@@ -0,0 +1,33 @@
1
+name: Publish to Azure Artifacts
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ tags:
7
+ - '*'
8
9
+jobs:
10
+ PublishToAzureArtifacts:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout code
15
+ uses: actions/checkout@v6
16
+ with:
17
+ submodules: recursive
18
19
+ - name: Set up JDK
20
+ uses: actions/setup-java@v5
21
22
+ distribution: 'temurin'
23
+ java-version: 17
24
+ cache: 'gradle'
25
26
+ - name: Publish to Azure DevOps Artifacts
27
+ run: |
28
+ ./gradlew publish
29
+ env:
30
+ AZURE_DEVOPS_ARTIFACT_USERNAME: ${{ secrets.AZURE_DEVOPS_ARTIFACT_USERNAME }}
31
+ AZURE_DEVOPS_ARTIFACT_TOKEN: ${{ secrets.AZURE_DEVOPS_ARTIFACT_TOKEN }}
32
+ RELEASE_VERSION: ${{ github.ref_name }}
33
+ shell: bash
0 commit comments