|
59 | 59 |
|
60 | 60 | echo "Updating permalink myrobotlab.zip..."
|
61 | 61 | aws s3 cp "$FILE" "s3://$BUCKET/myrobotlab.zip" --acl public-read
|
| 62 | +
|
| 63 | + - name: Upload Artifact for Release |
| 64 | + uses: actions/upload-artifact@v3 |
| 65 | + with: |
| 66 | + name: myrobotlab |
| 67 | + path: target/myrobotlab-${{ steps.version.outputs.version }}.zip |
| 68 | + |
| 69 | + release: |
| 70 | + needs: build |
| 71 | + runs-on: ubuntu-latest |
| 72 | + |
| 73 | + steps: |
| 74 | + - uses: actions/checkout@v3 |
| 75 | + |
| 76 | + - name: Download Artifact |
| 77 | + uses: actions/download-artifact@v3 |
| 78 | + with: |
| 79 | + name: myrobotlab |
| 80 | + path: target/ |
| 81 | + |
| 82 | + - name: Create GitHub Release |
| 83 | + uses: softprops/action-gh-release@v2 |
| 84 | + with: |
| 85 | + token: ${{ secrets.GITHUB_TOKEN }} |
| 86 | + tag_name: ${{ needs.build.outputs.version }} |
| 87 | + name: "MyRobotLab Nixie ${{ needs.build.outputs.version }}" |
| 88 | + body: | |
| 89 | + ## MyRobotLab Nixie Release |
| 90 | +
|
| 91 | + Open Source Framework for Robotics and Creative Machine Control |
| 92 | + *You know, for robots!* |
| 93 | +
|
| 94 | + * Project Website: [MyRobotLab.org](http://myrobotlab.org) |
| 95 | + * Project Discord: [Join here](https://discord.gg/AfScp5x8r5) |
| 96 | + * Download Built Application: [Nixie ${{ needs.build.outputs.version }}](https://myrobotlab-repo.s3.amazonaws.com/myrobotlab-${{ needs.build.outputs.version }}.zip) |
| 97 | + * [JavaDocs](https://build.myrobotlab.org:8443/job/myrobotlab/job/develop/$build/artifact/target/site/apidocs/org/myrobotlab/service/package-summary.html) |
| 98 | +
|
| 99 | + ## Base Requirements |
| 100 | + You will need **Java 11 or newer**. If you are only running MyRobotLab, you need the JRE (Java Runtime Environment). |
| 101 | + If you are building from source, you will need the JDK (Java Development Kit). Oracle or OpenJDK will work. |
| 102 | +
|
| 103 | + files: target/myrobotlab-${{ needs.build.outputs.version }}.zip |
| 104 | + draft: false |
| 105 | + prerelease: false |
0 commit comments