fix bug #10
Workflow file for this run
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 and Release ArchLinux | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build-and-release: | |
runs-on: ubuntu-latest | |
container: archlinux:base | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'microsoft' | |
java-version: '17' | |
- name: Build Compose Desktop | |
run: | | |
chmod 0777 ./gradlew | |
./gradlew packagePkg | |
ls build/compose/binaries/main | |
ls build/compose/binaries/main/pkg | |
- name: Upload to Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
build/compose/binaries/main/pkg/* | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |