From ead5afc3375fd8ebcabd44d287363182036a2f27 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Tue, 27 Feb 2024 09:42:14 -0800 Subject: [PATCH] fixups --- .github/workflows/publish.yml | 28 ---------------------------- src/index.ts | 1 + 2 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index ce62f64..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Publish - -on: - workflow_dispatch: - push: - branches: - - main - -jobs: - publish: - name: Publish - runs-on: ubuntu-22.04 - permissions: - contents: read - id-token: write - steps: - - uses: actions/checkout@v3 - - run: | - mkdir artifacts - git archive --format=tar.gz HEAD -o ./artifacts/universal.tar.gz - - - uses: DeterminateSystems/push-artifact-ids@main - with: - s3_upload_role: ${{ secrets.AWS_S3_UPLOAD_ROLE }} - bucket: ${{ secrets.AWS_S3_UPLOAD_BUCKET }} - directory: ./artifacts - ids_project_name: magic-nix-cache-action-priv - ids_binary_prefix: magic-nix-cache-action-priv diff --git a/src/index.ts b/src/index.ts index 3eb9a48..18890fe 100644 --- a/src/index.ts +++ b/src/index.ts @@ -247,6 +247,7 @@ async function flakehub_login(netrc: string) { [ `machine api.flakehub.com login flakehub password ${jwt}`, `machine flakehub.com login flakehub password ${jwt}`, + `machine cache.flakehub.com login flakehub password ${jwt}`, ].join("\n"), );