CI/CD edit
This commit is contained in:
@@ -17,18 +17,19 @@ jobs:
|
||||
- run: sudo dnf install -y nodejs
|
||||
- name: "Check out repo code"
|
||||
uses: actions/checkout@v4
|
||||
# - name: "Build"
|
||||
# uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||
# with:
|
||||
# bundle: RDPConnect.flatpak
|
||||
# manifest-path: com.angoosh.RDPConnect/com.angoosh.RDPConnect.yml
|
||||
# cache-key: flatpak-builder-${{ gitea.sha }}
|
||||
- name: "Build"
|
||||
uses: flatpak/flatpak-github-actions/flatpak-builder@v6
|
||||
with:
|
||||
bundle: RDPConnect.flatpak
|
||||
manifest-path: com.angoosh.RDPConnect/com.angoosh.RDPConnect.yml
|
||||
cache-key: flatpak-builder-${{ gitea.sha }}
|
||||
|
||||
- run: ls
|
||||
- run: ls com.angoosh.RDPConnect
|
||||
- run: git clone https://github.com/flatpak/flat-manager.git
|
||||
- run: REPO_TOKEN=${{ secrets.FLATMAN_API_TOKEN }}
|
||||
- run: FLATMAN_URL=$(./flat-manager/flat-manager-client create https://flatpak.example.org stable)
|
||||
- run: echo $REPO_TOKEN
|
||||
- run: echo $FLATMAN_URL
|
||||
- run: export REPO_TOKEN=${{ secrets.FLATMAN_API_TOKEN }}
|
||||
- run: export FLATMAN_URL=$(./flat-manager/flat-manager-client create https://flatpak.example.org stable)
|
||||
- run: ./flat-manager/flat-manager-client push --commit $FLATMAN_URL local-repo
|
||||
# - uses: flatpak/flatpak-github-actions/flat-manager@v6
|
||||
# name: "Deploy"
|
||||
# with:
|
||||
|
||||
Reference in New Issue
Block a user