Skip to content

Commit

Permalink
Tidy up readme
Browse files Browse the repository at this point in the history
  • Loading branch information
A5H73Y committed May 22, 2024
1 parent 96bab7f commit 16a690d
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 29 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/maven-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Build

env:
artifact_name: 'Carz-7.3'
release_type: '-RELEASE'

on: push

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v2

- name: Set up JDK 11 (LTS)
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
cache: maven

- name: Build with Maven
run: mvn -B clean package

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.artifact_name }}${{ env.release_type }}.${{ github.run_number }}
release_name: ${{ env.artifact_name }}${{ env.release_type }}.${{ github.run_number }}
draft: false
prerelease: false

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: target/${{ env.artifact_name }}.jar
asset_name: ${{ env.artifact_name }}${{ env.release_type }}.jar
asset_content_type: application/java-archive

21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<p align="center"><img src="http://i.imgur.com/xPrxoVX.jpg" alt="Carz Logo"></p>
![Carz Logo](https://repository-images.githubusercontent.com/127158446/ff4fb242-6432-40e7-9bb4-d117fbe2c353)


[![discord server](https://img.shields.io/discord/328154925949517824.svg)](https://discord.gg/h9d2fSd)
[![travis-ci](https://travis-ci.org/A5H73Y/Carz.svg?branch=master)](https://travis-ci.org/A5H73Y/Carz/branches)
[![license: MIT](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://tldrlegal.com/license/mit-license)
[![releases](https://img.shields.io/github/v/release/A5H73Y/Carz.svg?label=github%20release)](https://github.com/A5H73Y/Carz/releases/latest)
[![license: MIT](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://tldrlegal.com/license/mit-license)

Carz is a plugin that offers the ability to add drivable cars, car ownership, car upgrades, fuel and uses economy; offering an immersive role-playing experience to any server.<p />
Add a whole new level of role-play to any server that uses roads, perfect for city servers. Carz signs can be placed to act as Car Showrooms, Mechanics and Fuel Stations.<p />
Expand All @@ -26,14 +26,14 @@ First released in July 2012, becoming my most downloaded plugin to date. Carz is
## Maven
```
<repository>
<id>a5h73y-repo</id>
<url>https://dl.bintray.com/a5h73y/repo/</url>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
```

```
<dependency>
<groupId>io.github.a5h73y</groupId>
<groupId>com.github.A5H73Y</groupId>
<artifactId>Carz</artifactId>
<version>7.3</version>
<type>jar</type>
Expand All @@ -45,11 +45,11 @@ First released in July 2012, becoming my most downloaded plugin to date. Carz is
```
repositories {
maven {
url "https://dl.bintray.com/a5h73y/repo"
url "https://jitpack.io"
}
}
```

```
compile 'io.github.a5h73y:Carz:7.3'
compile 'com.github.A5H73Y:Carz:7.3'
```

0 comments on commit 16a690d

Please sign in to comment.