From c385bc6804f2b76e2d26a6e462b90c7c59a7aa1e Mon Sep 17 00:00:00 2001 From: fkwp Date: Wed, 9 Aug 2023 16:45:56 +0200 Subject: [PATCH] Addressing Deprecating save-state and set-output commands --- .github/workflows/publish.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 3797ee53..62af8bdd 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -18,9 +18,9 @@ jobs: contents: write # required to upload release asset packages: write steps: - - name: Get current date - id: current_date - run: echo "::set-output name=unix_time::$(date +'%s')" + - name: Get current time + id: current-time + run: echo "unix_time=$(date +'%s')" >> $GITHUB_OUTPUT - name: Check it out uses: actions/checkout@v2 @@ -69,7 +69,7 @@ jobs: type=sha,format=short,event=branch type=semver,pattern={{version}} type=raw,value=latest-ci,enable={{is_default_branch}} - type=raw,value=latest-ci_{{ steps.current_date.outputs.unix_time }},enable={{is_default_branch}} + type=raw,value=latest-ci_{{steps.current.time.outputs.unix_time}},enable={{is_default_branch}} - name: Set up Docker Buildx uses: docker/setup-buildx-action@dc7b9719a96d48369863986a06765841d7ea23f6