Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable build steps to speed up debugging #833

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 14 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,22 @@ jobs:
corepack enable
corepack prepare yarn@stable --activate
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Sonar needs blame info
- name: Set Image Version
run: echo "IMAGE_VERSION=${GITHUB_SHA:0:7}" >> $GITHUB_ENV
- name: Build CLI
run: yarn --cwd cli
- name: Build Web UI Image
run: docker build -t $WEBUI_TAG:$IMAGE_VERSION webui
- name: Run Server Tests
run: server/gradlew --no-daemon -p server check
- name: Build Server Image
run: docker build -t $SERVER_TAG:$IMAGE_VERSION server
- name: Push Docker Images
run: |
echo ${{ secrets.BOT_ACCESS_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
docker push $SERVER_TAG:$IMAGE_VERSION
docker push $WEBUI_TAG:$IMAGE_VERSION
if: github.repository == 'eclipse/openvsx' && github.ref == 'refs/heads/master'
# - name: Build CLI
# run: yarn --cwd cli
# - name: Build Web UI Image
# run: docker build -t $WEBUI_TAG:$IMAGE_VERSION webui
# - name: Run Server Tests
# run: server/gradlew --no-daemon -p server check
# - name: Build Server Image
# run: docker build -t $SERVER_TAG:$IMAGE_VERSION server
# - name: Push Docker Images
# run: |
# echo ${{ secrets.BOT_ACCESS_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
# docker push $SERVER_TAG:$IMAGE_VERSION
# docker push $WEBUI_TAG:$IMAGE_VERSION
# if: github.repository == 'eclipse/openvsx' && github.ref == 'refs/heads/master'
- name: Save PR number to file
if: github.event_name == 'pull_request'
run: echo ${{ github.event.number }} > PR_NUMBER.txt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: ${{ runner.os }}-gradle
- name: Print current working directory #TODO remove after debugging
run: pwd
run: cd ~/.gradle/caches && pwd
- name: List Files #TODO remove after debugging
run: ls -al
run: cd ~ && ls -al
- name: Set up JDK
uses: actions/setup-java@v1
with:
Expand Down
Loading