diff options
author | Daniel Santiago <danysantiago@google.com> | 2021-01-28 09:24:33 -0800 |
---|---|---|
committer | Dagger Team <dagger-dev+copybara@google.com> | 2021-01-28 09:26:43 -0800 |
commit | 426b444b19636789412609545a1ea2ab027d0f63 (patch) | |
tree | 9a5d96d689c7b3276bdb6540537330b0e67e83c0 /.github | |
parent | 229c99fe65bd3a373788727080b998ccd50ca2b8 (diff) | |
download | dagger2-426b444b19636789412609545a1ea2ab027d0f63.tar.gz |
Add latest snapshot publishing job to Github Workflow
RELNOTES=N/A
PiperOrigin-RevId: 354327132
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9814c5854..ba0b3e26a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,3 +68,17 @@ jobs: shell: bash env: ADB_INSTALL_TIMEOUT: 10 # In Minutes + publish-snapshot: + name: 'Publish snapshot' + needs: [bazel-test, artifact-local-tests, artifact-emulator-tests] + if: github.event_name == 'push' && github.repository == 'google/dagger' && github.ref == 'refs/heads/master' + runs-on: ubuntu-latest + steps: + - name: 'Check out repository' + uses: actions/checkout@v2 + - name: 'Publish latest snapshot' + run: ./util/publish-snapshot-on-commit.sh + shell: bash + env: + CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }} + CI_DEPLOY_PASSWORD: ${{ secrets.CI_DEPLOY_PASSWORD }} |