diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml new file mode 100644 index 0000000..51396dc --- /dev/null +++ b/.github/workflows/flatpak.yml @@ -0,0 +1,36 @@ +name: Create Flatpak Bundle + +on: + release: + types: [published] + workflow_dispatch: + +jobs: + flatpak: + name: "Flatpak" + runs-on: ubuntu-latest + container: + image: bilelmoussaoui/flatpak-github-actions:kde-6.6 + options: --privileged + steps: + - uses: actions/checkout@v4 + with: + lfs: true + repository: glaumar/QRookie + + - uses: flatpak/flatpak-github-actions/flatpak-builder@v6 + with: + bundle: QRookie.flatpak + upload-artifact: false + manifest-path: io.github.glaumar.QRookie.yml + cache-key: flatpak-builder-${{ github.sha }} + + + - name: Upload binaries to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.TOKEN }} + file: QRookie.flatpak + asset_name: QRookie.flatpak + tag: ${{ github.ref }} + diff --git a/.github/workflows/macos_bundle_arm64.yml b/.github/workflows/macos_bundle_arm64.yml new file mode 100644 index 0000000..75f150c --- /dev/null +++ b/.github/workflows/macos_bundle_arm64.yml @@ -0,0 +1,33 @@ +name: Create MacOS Bundle(arm64) + +on: + release: + types: [published] + workflow_dispatch: + +jobs: + build: + runs-on: macos-latest + + steps: + - uses: actions/checkout@v4 + with: + lfs: true + repository: glaumar/QRookie + + - name: Install Homebrew + run: | + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + + - name: Build + run: | + cd macOs/ + ./signApp.sh + + - name: Upload binaries to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.TOKEN }} + file: macOs/QRookie_arm64.dmg + asset_name: QRookie_macOs_arm64.dmg + tag: ${{ github.ref }} \ No newline at end of file diff --git a/.github/workflows/macos_bundle_x86_64.yml b/.github/workflows/macos_bundle_x86_64.yml new file mode 100644 index 0000000..b80b5d9 --- /dev/null +++ b/.github/workflows/macos_bundle_x86_64.yml @@ -0,0 +1,34 @@ +name: Create MacOS Bundle(x86_64) + +on: + release: + types: [published] + workflow_dispatch: + + +jobs: + build: + runs-on: macos-13 + + steps: + - uses: actions/checkout@v4 + with: + lfs: true + repository: glaumar/QRookie + + - name: Install Homebrew + run: | + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + + - name: Build + run: | + cd macOs/ + ./signApp.sh + + - name: Upload binaries to release + uses: svenstaro/upload-release-action@v2 + with: + repo_token: ${{ secrets.TOKEN }} + file: macOs/QRookie_x86_64.dmg + asset_name: QRookie_macOs_x86_64.dmg + tag: ${{ github.ref }} \ No newline at end of file