10 Commits

Author SHA1 Message Date
4a653e5955 automated download workflow 2025-07-04 17:13:07 +00:00
c9c653add4 Merge pull request 'fix logging to download' (#2) from feature/fix-downloads into main
All checks were successful
Update Determinate Nix binary / download-binary (push) Successful in 31s
Update Determinate Nix binary / commit-data (push) Successful in 33s
Reviewed-on: #2
2025-07-04 13:12:07 -04:00
db848c394f fix logging to download
All checks were successful
Update Determinate Nix binary / download-binary (push) Has been skipped
Update Determinate Nix binary / commit-data (push) Has been skipped
2025-07-04 13:11:15 -04:00
c04f95c533 automated download workflow 2025-07-04 17:04:11 +00:00
b67282da9f Merge pull request 'fix download path' (#1) from feature/fix-downloads into main
All checks were successful
Update Determinate Nix binary / download-binary (push) Successful in 28s
Update Determinate Nix binary / commit-data (push) Successful in 28s
Reviewed-on: #1
2025-07-04 13:03:20 -04:00
3c1d60a01b fix download path
All checks were successful
Update Determinate Nix binary / download-binary (push) Has been skipped
Update Determinate Nix binary / commit-data (push) Has been skipped
2025-07-04 13:02:52 -04:00
c127f32583 don't upload artifact if binary is the same
All checks were successful
Update Determinate Nix binary / download-binary (push) Successful in 22s
Update Determinate Nix binary / commit-data (push) Has been skipped
2025-05-26 18:28:02 -04:00
8636d09b9b remove duplicate yaml
All checks were successful
Update Determinate Nix binary / download-binary (push) Successful in 27s
Update Determinate Nix binary / commit-data (push) Has been skipped
2025-05-26 18:25:11 -04:00
87a94cead7 remove always condition
Some checks failed
Update Determinate Nix binary / commit-data (push) Has been cancelled
Update Determinate Nix binary / download-binary (push) Has been cancelled
2025-05-26 18:24:29 -04:00
34a1206422 change workflow file name
Some checks failed
Update Determinate Nix binary / download-binary (push) Successful in 35s
Update Determinate Nix binary / commit-data (push) Failing after 15s
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2025-05-26 18:22:28 -04:00
2 changed files with 5 additions and 4 deletions

View File

@ -35,7 +35,7 @@ jobs:
- name: Download binary - name: Download binary
id: binary-check id: binary-check
run: | run: |
wget --content-disposition -nv "$DETERMINATE_URL" wget --content-disposition -nv "$DETERMINATE_URL" -O "$DETERMINATE_BINARY"
if git diff --quiet && git ls-files --error-unmatch "$DETERMINATE_BINARY"; then if git diff --quiet && git ls-files --error-unmatch "$DETERMINATE_BINARY"; then
echo "DETERMINATE_BINARY_DIFF=0" | tee -a "$GITHUB_OUTPUT" echo "DETERMINATE_BINARY_DIFF=0" | tee -a "$GITHUB_OUTPUT"
@ -46,6 +46,7 @@ jobs:
DETERMINATE_URL: ${{ env.DETERMINATE_URL }} DETERMINATE_URL: ${{ env.DETERMINATE_URL }}
DERMINATE_BINARY: ${{ env.DETERMINATE_BINARY }} DERMINATE_BINARY: ${{ env.DETERMINATE_BINARY }}
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
if: ${{ steps.binary-check.outputs.DETERMINATE_BINARY_DIFF != 0}}
with: with:
name: determinate-binary name: determinate-binary
path: ${{ env.DETERMINATE_BINARY }} path: ${{ env.DETERMINATE_BINARY }}
@ -59,7 +60,7 @@ jobs:
commit-data: commit-data:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [download-binary] needs: [download-binary]
if: always() && ${{ needs.download-binary.outputs.DETERMINATE_BINARY_DIFF != 0 }} if: ${{ needs.download-binary.outputs.DETERMINATE_BINARY_DIFF != 0 }}
steps: steps:
- name: Reset outputs from previous job - name: Reset outputs from previous job
run: | run: |

BIN
nix-installer-x86_64-linux (Stored with Git LFS)

Binary file not shown.