From 39f1448b1f073e4c36771baf6d01576862300ac9 Mon Sep 17 00:00:00 2001 From: olebeck <31539311+olebeck@users.noreply.github.com> Date: Sun, 30 Oct 2022 17:49:54 +0100 Subject: [PATCH] use latest tag ughh --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 84f1532..074222c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,17 +42,17 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} - name: build - run: make -j dists updates + id: build + run: | + make -j dists updates + echo "::workflow-command tag=$(git describe --exclude 'r-*' --tags)" - name: Deploy with rsync run: rsync -avz ./public/ olebeck@${{ secrets.SSH_HOST }}:/var/www/updates/bedrocktool/ - - uses: actions-ecosystem/action-get-latest-tag@v1 - id: get-latest-tag - - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: ${{ steps.get-latest-tag.outputs.tag }} + automatic_release_tag: ${{ steps.build.outputs.tag }} files: dist/* prerelease: false