Skip to content

Commit

Permalink
snap: use snapcore/action-build for release build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething committed Aug 12, 2024
1 parent 50ad772 commit 00577ab
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 00577ab

Please sign in to comment.