File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 build :
1414 runs-on : ubuntu-latest
15-
16- env :
17- MongoDB__ConnectionString : ${{ secrets.MONGODB_CONNECTIONSTRING }}
18- MongoDB__DatabaseName : ${{ secrets.MONGODB_DATABASENAME }}
19- MongoDB__CollectionName : ${{ secrets.MONGODB_COLLECTIONNAME }}
20-
15+
2116 steps :
2217 - uses : actions/checkout@v4
2318
5247 uses : actions/download-artifact@v4
5348 with :
5449 name : .net-app
50+
51+ - name : Set MongoDB Environment Variables
52+ run : |
53+ echo "MongoDB__ConnectionString=${{ secrets.MONGODB_CONNECTIONSTRING }}" >> $GITHUB_ENV
54+ echo "MongoDB__DatabaseName=${{ secrets.MONGODB_DATABASENAME }}" >> $GITHUB_ENV
55+ echo "MongoDB__CollectionName=${{ secrets.MONGODB_COLLECTIONNAME }}" >> $GITHUB_ENV
5556
5657 - name : Login to Azure
5758 uses : azure/login@v2
You can’t perform that action at this time.
0 commit comments