diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7536e4dd..b988537c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -28,7 +28,7 @@ jobs: - name: Set image date id: args - run: echo "::set-output name=date::$(date -d yesterday +'%Y-%m-%d')" + run: echo "date=$(date -d yesterday +'%Y-%m-%d')" >> "$GITHUB_OUTPUT" - name: Login to docker hub uses: docker/login-action@v3 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50775c54..1a752e0b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: - name: Extract version id: version - run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/} + run: echo "version=${GITHUB_REF#refs/tags/}" >> "$GITHUB_OUTPUT" - name: Create changelog id: changelog @@ -38,7 +38,7 @@ jobs: - name: Create archive run: tox -e archive env: - VERSION: ${{ steps.version.outputs.VERSION }} + VERSION: ${{ steps.version.outputs.version }} - name: Publish release uses: softprops/action-gh-release@v2