-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added github workflows to use github action and secrets
- Loading branch information
solomiofactura
committed
Sep 26, 2024
1 parent
01734db
commit e2f0760
Showing
2 changed files
with
25 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up environment | ||
env: | ||
NugetApiKey: ${{ secrets.TRI_MONTHLY_TEMPO }} # Access the secret here | ||
run: | | ||
echo "Running load-env.sh script with NugetApiKey" | ||
echo "NugetApiKey is set to: $NugetApiKey" # Avoid printing the actual secret in logs | ||
bash /workspaces/PersistedAssemblyBuilder.ConsoleApp/.devcontainer/load-env.sh |