CI/CD edit

This commit is contained in:
2025-02-13 01:00:25 +01:00
parent 161d8dbd2a
commit 417dc096ff

View File

@@ -18,16 +18,19 @@ jobs:
- run: sudo dnf install -y nodejs - run: sudo dnf install -y nodejs
- name: "Check out repo code" - name: "Check out repo code"
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: "Build" # - name: "Build"
uses: flatpak/flatpak-github-actions/flatpak-builder@v6 # uses: flatpak/flatpak-github-actions/flatpak-builder@v6
with: # with:
bundle: RDPConnect.flatpak # bundle: RDPConnect.flatpak
manifest-path: com.angoosh.RDPConnect/com.angoosh.RDPConnect.yml # manifest-path: com.angoosh.RDPConnect/com.angoosh.RDPConnect.yml
cache-key: flatpak-builder-${{ gitea.sha }} # cache-key: flatpak-builder-${{ gitea.sha }}
- uses: flatpak/flatpak-github-actions/flat-manager@v6 - run: git clone https://github.com/flatpak/flat-manager.git
name: "Deploy" - run: export REPO_TOKEN=${{ secrets.FLATMAN_API_TOKEN }}
with: - run: export FLATMAN_URL=$(./flat-manager/flat-manager-client create https://flatpak.example.org stable)
repository: stable # - uses: flatpak/flatpak-github-actions/flat-manager@v6
flat-manager-url: https://flatpak.angoosh.com # name: "Deploy"
token: ${{ secrets.FLATMAN_API_TOKEN }} # with:
# repository: stable
# flat-manager-url: https://flatpak.angoosh.com
# token: ${{ secrets.FLATMAN_API_TOKEN }}