Merge pull request #603 from chsami/development #232
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
name: Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest # You can choose a different runner if needed | |
permissions: write-all | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Build Shaded JAR | |
run: mvn clean package | |
- name: Create Release | |
uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
automatic_release_tag: "1.6.7.1" | |
prerelease: false | |
title: "Release 1.6.7.1" | |
files: | | |
/home/runner/work/Microbot/Microbot/runelite-client/target/microbot-*.jar | |
- name: Upload Jar | |
uses: "bacongobbler/azure-blob-storage-upload@main" | |
with: | |
source_dir: runelite-client/target | |
container_name: microbot | |
connection_string: ${{ secrets.blobConnectionString }} | |
extra_args: '--pattern *.jar --destination-path release' | |
# WARNING: this will overwrite existing blobs in your blob storage | |
overwrite: 'true' |