add upload/download
This commit is contained in:
parent
6a79fd7700
commit
e47b285ea3
14
.github/workflows/flake-update.yml
vendored
14
.github/workflows/flake-update.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user