diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 087b1c4..1cd24d2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -71,3 +71,26 @@ jobs: name: magic-nix-cache-X64-Linux path: result/bin/magic-nix-cache retention-days: 1 + + build-artifacts-ARM64-Linux: + concurrency: build-ARM64-Linux + runs-on: namespace-profile-default-arm64 + steps: + - uses: actions/checkout@v3 + + # - uses: DeterminateSystems/flake-checker-action@main + + - uses: DeterminateSystems/nix-installer-action@main + + # - uses: DeterminateSystems/magic-nix-cache-action@main + + - name: Build package + run: "nix build .# -L --fallback" + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v3.1.2 + with: + # Artifact name + name: magic-nix-cache-ARM64-Linux + path: result/bin/magic-nix-cache + retention-days: 1 diff --git a/.github/workflows/release-branches.yml b/.github/workflows/release-branches.yml index bae2276..3adc3dc 100644 --- a/.github/workflows/release-branches.yml +++ b/.github/workflows/release-branches.yml @@ -52,6 +52,13 @@ jobs: - name: Persist the cache binary run: cp ./cache-binary-X64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-X64-Linux + - uses: actions/download-artifact@v3 + with: + name: magic-nix-cache-ARM64-Linux + path: cache-binary-ARM64-Linux + - name: Persist the cache binary + run: cp ./cache-binary-ARM64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-ARM64-Linux + - name: Publish Release (Branch) env: AWS_BUCKET: ${{ secrets.AWS_S3_UPLOAD_BUCKET }} diff --git a/.github/workflows/release-prs.yml b/.github/workflows/release-prs.yml index 6d899a4..513c2e9 100644 --- a/.github/workflows/release-prs.yml +++ b/.github/workflows/release-prs.yml @@ -56,6 +56,13 @@ jobs: - name: Persist the cache binary run: cp ./cache-binary-X64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-X64-Linux + - uses: actions/download-artifact@v3 + with: + name: magic-nix-cache-ARM64-Linux + path: cache-binary-ARM64-Linux + - name: Persist the cache binary + run: cp ./cache-binary-ARM64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-ARM64-Linux + - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v2 with: diff --git a/.github/workflows/release-tags.yml b/.github/workflows/release-tags.yml index 881ef9b..32d65c3 100644 --- a/.github/workflows/release-tags.yml +++ b/.github/workflows/release-tags.yml @@ -45,6 +45,13 @@ jobs: - name: Persist the cache binary run: cp ./cache-binary-X64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-X64-Linux + - uses: actions/download-artifact@v3 + with: + name: magic-nix-cache-ARM64-Linux + path: cache-binary-ARM64-Linux + - name: Persist the cache binary + run: cp ./cache-binary-ARM64-Linux/magic-nix-cache ./artifacts/magic-nix-cache-ARM64-Linux + - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v2 with: