Update README.md #513
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: Build with gradle | |
on: | |
push: | |
branches: [main] | |
pull_request: {} | |
jobs: | |
gradle: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Install dos2unix | |
run: sudo apt-get install -y dos2unix | |
- name: Create packaged release | |
run: ./package-release | |
- name: Archive release | |
uses: actions/upload-artifact@v3 | |
with: | |
name: osrs-environment-exporter-${{ matrix.os }}.zip | |
path: build/dist/osrs-environment-exporter-*.zip |