Skip to content
Compare
Choose a tag to compare
@andrewsomething andrewsomething released this 24 Apr 15:41
· 77 commits to v2 since this release
7f3a996

News

digitalocean/action-doctl was first written back when GitHub Actions was still in its beta phase. v2 brings an important change to how this action works making its user experience a better fit for how GitHub Actions has evolved. When using v2, doctl will be installed in the shared runner's PATH allowing it to be used directly.

For example, to save a kubeconfig file, you would now run:

    - name: Install doctl
      uses: digitalocean/action-doctl@v2
      with:
        token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}

    - name: Save DigitalOcean kubeconfig
      run: doctl kubernetes cluster kubeconfig save testing-cluster

For more details about why we've made this change, see the RFC: #27

Backwards Compatibility

In order to not break existing users, you will need to explicitly opt-in to these changes by using digitalocean/action-doctl@v2.

v2 is now the default branch for this repository. digitalocean/action-doctl@master is now deprecated, but it will remain available and maintain its current behavior for the foreseeable future.