Remove need for rust

This commit is contained in:
Zachary Hall 2023-07-18 19:13:06 -07:00
parent d5e7321859
commit 76d4ab0e7c

View file

@ -18,10 +18,8 @@ jobs:
run: flatpak-builder build-flatpak com.experimentalcraft.NekoPlayer.yml --repo ./flatpak-repo run: flatpak-builder build-flatpak com.experimentalcraft.NekoPlayer.yml --repo ./flatpak-repo
- name: Download uploading script - 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 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 - 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 #- uses: actions/upload-artifact@v3
# with: # with:
# name: build # name: build