This commit is contained in:
miwr 2025-04-08 13:36:34 +02:00
parent 900c665bba
commit f87131a7fc

View file

@ -34,6 +34,8 @@ jobs:
with: with:
buildkitd-flags: '--allow-insecure-entitlement network.host' buildkitd-flags: '--allow-insecure-entitlement network.host'
driver-opts: network=host driver-opts: network=host
- name: Checkout code
uses: actions/checkout@v4
- name: Lint test - name: Lint test
run: | run: |
registry=${{ github.server_url }} registry=${{ github.server_url }}
@ -41,14 +43,11 @@ jobs:
repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')" repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')"
fullrepo=https://${registry}/${repository}.git fullrepo=https://${registry}/${repository}.git
git init git init
git pull ${fullrepo} # git pull ${fullrepo}
npm install @angular/cli npm install @angular/cli
npm run lint npm run lint
echo "getting the username" echo "getting the username"
- name: Checkout code - name: Update version
uses: actions/checkout@v4
- name: Make changes
run: | run: |
# Perform actions that modify files in the repository # Perform actions that modify files in the repository
echo "Updated content" > my_file.txt echo "Updated content" > my_file.txt