feat(abcdecoder):优化搜索界面,资源列表界面支持直接展示图片 #90
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: Universal Jar | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build with Gradle | |
# run: ./gradlew build | |
run: ./gradlew :abcdecoder:packageReleaseUberJarForCurrentOS -Puniversal | |
- name: Upload GitHub Actions artifact of gradle build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: universal-jar | |
path: ${{ github.workspace }}/abcdecoder/build/compose/jars/*.jar |