diff --git a/.gitea/workflows/compile.yaml b/.gitea/workflows/compile.yaml index ea7a28c..55345c4 100644 --- a/.gitea/workflows/compile.yaml +++ b/.gitea/workflows/compile.yaml @@ -18,10 +18,8 @@ jobs: run: flatpak-builder build-flatpak com.experimentalcraft.NekoPlayer.yml --repo ./flatpak-repo - name: Download uploading script run: wget https://raw.githubusercontent.com/flatpak/flat-manager/9401efbdc0d6bd489507d8401c567ba219d735d5/flat-manager-client -O flat-manager-client && chmod +x flat-manager-client - - name: Install Rust toolchain - run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal - name: Upload to flatpak repo - run: source $HOME/.cargo/env && export REPO_TOKEN=$(echo -n "$FLATPAK_TOKEN" | cargo run --bin gentoken -- --base64 --secret-file - --name nightly-token) && ./flat-manager-client push --commit $(./flat-manager-client create https://flatpak.complecwaft.com nightly) ./flatpak-repo/ + run: export REPO_TOKEN=$FLATPAK_TOKEN && ./flat-manager-client push --commit $(./flat-manager-client create https://flatpak.complecwaft.com nightly) ./flatpak-repo/ #- uses: actions/upload-artifact@v3 # with: # name: build