Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

GitHub action - Unable to access jarfile nist-data-mirror.jar #131

Open
aris-karaiskos-deltatre opened this issue Jun 3, 2022 · 1 comment

Comments

@aris-karaiskos-deltatre
Copy link

Hi, i am trying to incorporate the commands into a GitHub actions script but i am getting the "Unable to access jarfile nist-data-mirror.jar" error, did anyone manage to run it on GitHub actions please?

    - name: build the .jar file
      run: |
        mkdir  mirror-dir
        mvn clean package
        java -jar nist-data-mirror.jar mirror-dir
        ls -al    
      shell: bash
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  32.450 s
[INFO] Finished at: 2022-06-03T13:03:31Z
[INFO] ------------------------------------------------------------------------
Error: Unable to access jarfile nist-data-mirror.jar
@aikebah
Copy link
Contributor

aikebah commented Aug 20, 2022

Maven builds artifacts in the target subfolder, so I suspect you get a working setup when you change the invocation to java -jar target/nist-data-mirror.jar mirror-dir

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants