1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-18 17:19:50 +00:00

CI - copy "pixelorama" folder to the Artifact without cloning the repo

We already checkout as out first step so we don't need to clone the repository again. This commit also removes the ".gdignore" file from the Artifacts.
This commit is contained in:
Manolis Papadeas 2020-07-03 20:33:49 +03:00 committed by GitHub
parent 9464c7a953
commit 67a6397f0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,10 +28,10 @@ jobs:
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Windows Build 🔧 - name: Windows Build 🔧
run: godot -v --export "Windows Desktop 64-bit" ./build/windows-64bit/$EXPORT_NAME.exe run: godot -v --export "Windows Desktop 64-bit" ./build/windows-64bit/$EXPORT_NAME.exe
- name: Clone Pixelorama Repository 📁 - name: Copy pixelorama folder 📁
run: | run: |
git clone https://github.com/Orama-Interactive/Pixelorama.git cp -R ./pixelorama ./build/windows-64bit
cp -R /__w/Pixelorama/Pixelorama/Pixelorama/pixelorama ./build/windows-64bit rm ./build/windows-64bit/pixelorama/.gdignore
- name: Upload Artifact 🚀 - name: Upload Artifact 🚀
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with:
@ -54,10 +54,10 @@ jobs:
mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
- name: Linux Build 🔧 - name: Linux Build 🔧
run: godot -v --export "Linux/X11 64-bit" ./build/linux-64bit/$EXPORT_NAME.x86_64 run: godot -v --export "Linux/X11 64-bit" ./build/linux-64bit/$EXPORT_NAME.x86_64
- name: Clone Pixelorama Repository 📁 - name: Copy pixelorama folder 📁
run: | run: |
git clone https://github.com/Orama-Interactive/Pixelorama.git cp -R ./pixelorama ./build/linux-64bit
cp -R /__w/Pixelorama/Pixelorama/Pixelorama/pixelorama ./build/linux-64bit rm ./build/linux-64bit/pixelorama/.gdignore
- name: Upload Artifact 🚀 - name: Upload Artifact 🚀
uses: actions/upload-artifact@v1 uses: actions/upload-artifact@v1
with: with: