-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (25 loc) · 816 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: CI
on:
push:
branches:
- master # Adjust the branch as necessary
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: List files in current directory
run: ls -R .
- name: Set up environment variables
run: |
echo "Setting up environment variables..."
echo "NugetApiKey=${{ secrets.TRI_MONTHLY_TEMPO }}" >> $GITHUB_ENV
echo "Current environment variables:"
env | grep NugetApiKey || true
- name: Log secret length
run: |
echo "Secret length: ${#secrets.TRI_MONTHLY_TEMPO}" # This will not print the actual secret
- name: Test secret output
run: |
echo "NugetApiKey=${{ secrets.TRI_MONTHLY_TEMPO }}"