add upload/download
Some checks failed
Update Determinate Nix binary / download-binary (push) Failing after 54s
Update Determinate Nix binary / commit-data (push) Has been skipped

This commit is contained in:
ahuston-0 2025-05-26 17:02:33 -04:00
parent 6a79fd7700
commit e47b285ea3
No known key found for this signature in database
GPG Key ID: 47940175096C1330

View File

@ -45,13 +45,27 @@ jobs:
env:
DETERMINATE_URL: ${{ env.DETERMINATE_URL }}
DERMINATE_BINARY: ${{ env.DETERMINATE_BINARY }}
- uses: actions/upload-artifact@v4
with:
name: ${{ env.DETERMINATE_BINARY }}
path: ${{ env.DETERMINATE_BINARY }}
outputs:
DETERMINATE_BINARY_DIFF: ${{ steps.binary-check.outputs.DETERMINATE_BINARY_DIFF }}
DETERMINATE_BINARY: ${{ env.DETERMINATE_BINARY }}
DETERMINATE_VERSION: ${{ env.DETERMINATE_VERSION }}
commit-data:
runs-on: ubuntu-latest
needs: [download-binary]
if: always() && ${{ needs.download-binary.outputs.DETERMINATE_BINARY_DIFF != 0 }}
steps:
- name: Reset outputs from previous job
run: |
echo "DETERMINATE_BINARY=${{ needs.download-binary.outputs.DETERMINATE_BINARY }}" | tee -a "$GITHUB_ENV"
echo "DETERMINATE_VERSION=${{ needs.download-binary.outputs.DETERMINATE_VERSION }}" | tee -a "$GITHUB_ENV"
- uses: actions/download-artifact@v4
with:
name: ${{ env.DETERMINATE_BINARY }}
path: ${{ env.DETERMINATE_BINARY }}
- name: Git config
run: |
git config user.name github-actions