Skip to content

Commit

Permalink
ci: rename artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
SrGaabriel authored Sep 5, 2024
1 parent 576ce65 commit de1c377
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,16 @@ jobs:
*/build/libs/*-jvm.jar
!compiler/build/libs/*-jvm.jar
- name: Upload compiler artifacts
uses: actions/upload-artifact@v3
- name: Rename and upload compiler artifacts
run: |
mkdir -p artifacts
cp compiler/build/libs/gwydion.jar artifacts/gwydion-compiler-jvm.jar
cp compiler/build/bin/linuxX64/releaseExecutable/compiler.kexe artifacts/gwydion-compiler-linuxX64
cp compiler/build/bin/windowsX64/releaseExecutable/compiler.exe artifacts/gwydion-compiler-windowsX64.exe
- uses: actions/upload-artifact@v3
with:
name: compiler
path: |
compiler/build/libs/gwydion.jar
compiler/build/bin/linuxX64/releaseExecutable/compiler.kexe
compiler/build/bin/windowsX64/releaseExecutable/compiler.exe
name: compiler-artifacts
path: artifacts/*

- name: Upload Jester artifact
uses: actions/upload-artifact@v3
Expand All @@ -78,9 +80,9 @@ jobs:
uses: softprops/action-gh-release@v1
with:
files: |
compiler/libs/gwydion.jar
compiler/bin/linuxX64/releaseExecutable/compiler.kexe
compiler/bin/windowsX64/releaseExecutable/compiler.exe
compiler-artifacts/gwydion-compiler-jvm.jar
compiler-artifacts/gwydion-compiler-linuxX64
compiler-artifacts/gwydion-compiler-windowsX64.exe
jester/jester
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit de1c377

Please sign in to comment.