Skip to content

Commit

Permalink
snap: use snapcore/action-build for release build (#1567)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething authored Aug 12, 2024
1 parent 50ad772 commit 506ebb8
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,9 @@ jobs:
# fetch-depth: 0 fetches all history for all branches and tags
fetch-depth: 0

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USER }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Build snap
uses: snapcore/action-build@v1
id: build
run: |
make _build_snap && \
find doctl_v*.snap -exec echo "snap={}" >> "$GITHUB_OUTPUT" \;

- uses: snapcore/action-publish@master
env:
Expand Down

0 comments on commit 506ebb8

Please sign in to comment.