Git Product home page Git Product logo

Comments (3)

garronej avatar garronej commented on June 3, 2024

Hi,
It must not be in the PATH when the script run. Are you sure the script is not run by a different user that hase a different PATH ?

from keycloakify.

shubhamdeodia avatar shubhamdeodia commented on June 3, 2024

This is my workflow file, runner already has mvn install, what you are saying is that I should remove the PATH env ?

name: ci
on:
  push:
    branches:
      - test

jobs:
  build:
    name: build
    runs-on: 'custom-runner'
    steps:
      - run: sudo chown -R $USER:$USER ${{ github.workspace }}

      - uses: actions/checkout@v2
      - name: show maven version
        run: |
          export M2_HOME=/usr/local/apache-maven
          export M2=$M2_HOME/bin 
          export PATH=$M2:$PATH
          mvn -version

      # Setup NodeJS and NPM
      - name: 'Setup Nodejs'
        uses: actions/[email protected]
        with:
          node-version: '16.x'

      - name: install dependencies
        run: npm install

      - run: npm run keycloak-ci
      - uses: actions/upload-artifact@v2
        with:
          name: keycloak_theme
          path: build_keycloak/target/*keycloak-theme*.jar

from keycloakify.

garronej avatar garronej commented on June 3, 2024

I don't know... it work when runner is ubunut-latest:

https://github.com/garronej/keycloakify-demo-app/blob/20ed8ed3395d3d30e70097ce63a5e53fbf11435c/.github/workflows/ci.yaml#L12-L29

from keycloakify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.