Skip to content

Commit a9cc709

Browse files
committed
- config download token
1 parent e6908c0 commit a9cc709

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/publish-nuget.yml

+13
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,22 @@ jobs:
4343
with:
4444
xcode-select-version: 15.1
4545

46+
- name: Set MAPBOX_DOWNLOADS_TOKEN
47+
if: contains(${{ inputs.LIB_ARTIFACT }}, 'com.mapbox.maps')
48+
run: |
49+
echo "MAPBOX_DOWNLOADS_TOKEN=$MAPBOX_DOWNLOADS_TOKEN" >> ~/.gradle/gradle.properties
50+
cat ~/.gradle/gradle.properties
51+
shell: bash
52+
env:
53+
MAPBOX_DOWNLOADS_TOKEN : ${{ secrets.MAPBOX_DOWNLOADS_TOKEN }}
54+
4655
- name: Create MauiProgram.dev.cs
4756
run: |
4857
cp src/qs/MapboxMauiQs/MauiProgram.dev.cs.example src/qs/MapboxMauiQs/MauiProgram.dev.cs
58+
59+
- name: Create MapboxMauiQs.props
60+
run: |
61+
echo ${{ secrets.PROJECT_PROPS }} > src/qs/MapboxMauiQs/MapboxMauiQs.props
4962
5063
- name: Build
5164
run: |

0 commit comments

Comments
 (0)