diff --git a/.github/workflows/branch.yml b/.github/workflows/branch.yml index eadecfb6..be4faf00 100644 --- a/.github/workflows/branch.yml +++ b/.github/workflows/branch.yml @@ -23,7 +23,7 @@ jobs: if ${{github.event_name == 'workflow_dispatch'}}; then BRANCH=$(git describe --abbrev=0 --tags) fi - echo ::set-output name=BRANCH::$(echo ${BRANCH} | cut -d '.' -f1-2 | tr -d 'v') + echo "BRANCH=$(echo ${BRANCH} | cut -d '.' -f1-2 | tr -d 'v')" >> $GITHUB_OUTPUT - name: Set up Go uses: actions/setup-go@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a2ceeedd..94344d16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,11 +47,11 @@ jobs: if ${{github.event_name == 'workflow_dispatch'}}; then VERSION=$(git describe --abbrev=0 --tags) fi - echo ::set-output name=VERSION::${VERSION} + echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT - name: Get the builtvar id: get_built - run: echo ::set-output name=BUILT::$(date -u +%a_%d_%b_%H:%M:%S_%Y) + run: echo "BUILT=$(date -u +%a_%d_%b_%H:%M:%S_%Y)" >> $GITHUB_OUTPUT - name: Run GoReleaser uses: goreleaser/goreleaser-action@v5