This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3dedbe1
commit 41e3101
Showing
1 changed file
with
1 addition
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,21 +41,4 @@ jobs: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
mvn clean package --settings ${{ github.workspace }}/settings.xml | ||
mv /home/runner/work/Zyneon-Application/Zyneon-Application/application-main/target/application-main-${{ steps.extract_version.outputs.version }}.jar /home/runner/work/Zyneon-Application/Zyneon-Application/application-main/target/application-main-experimental.jar | ||
- name: Archive artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: application-experimental | ||
path: /home/runner/work/Zyneon-Application/Zyneon-Application/application-main/target/application-main-experimental.jar | ||
|
||
- name: Upload artifact to external repository | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
git clone https://github.com/danieldieeins/ZyneonApplicationContent.git | ||
mv /home/runner/work/Zyneon-Application/Zyneon-Application/application-main/target/application-main-experimental.jar ZyneonApplicationContent/i/application-experimental.jar | ||
cd ZyneonApplicationContent | ||
git add . | ||
git commit -m "Add application-experimental.jar" | ||
git push | ||
mv /home/runner/work/Zyneon-Application/Zyneon-Application/application-main/target/application-main-${{ steps.extract_version.outputs.version }}.jar /home/runner/work/Zyneon-Application/Zyneon-Application/application-main/target/application-main-experimental.jar |