diff --git a/.github/workflows/branch-preview.yaml b/.github/workflows/branch-preview.yaml index 92ba2e80..d6ca9f55 100644 --- a/.github/workflows/branch-preview.yaml +++ b/.github/workflows/branch-preview.yaml @@ -104,7 +104,7 @@ jobs: echo "cicd-bot-telegram-token=$(./bin/sc stack secret-get -s dist cicd-bot-telegram-token)" >> $GITHUB_OUTPUT echo "cicd-bot-telegram-chat-id=$(./bin/sc stack secret-get -s dist cicd-bot-telegram-chat-id)" >> $GITHUB_OUTPUT - name: upload bin directory artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: bin-tools path: bin @@ -146,7 +146,7 @@ jobs: tar -czf .sc/stacks/dist/bundle/sc-${GOOS}-${GOARCH}.tar.gz -C dist/${GOOS}-${GOARCH} sc${EXT} cp .sc/stacks/dist/bundle/sc-${GOOS}-${GOARCH}.tar.gz .sc/stacks/dist/bundle/sc-${GOOS}-${GOARCH}-v${VERSION}.tar.gz - name: upload build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: sc-${{ matrix.os }}-${{ matrix.arch }} path: .sc/stacks/dist/bundle/sc-${{ matrix.os }}-${{ matrix.arch }}-v*.tar.gz @@ -181,7 +181,7 @@ jobs: run: | go build -a -installsuffix cgo -ldflags "-s -w -X=github.com/simple-container-com/api/internal/build.Version=${VERSION}" -o ${{ matrix.output }} ./cmd/${{ matrix.cmd }} - name: upload ${{ matrix.target }} binary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ matrix.target }}-binary path: ${{ matrix.output }} diff --git a/.github/workflows/branch.yaml b/.github/workflows/branch.yaml index 1b30b373..c433bfa3 100644 --- a/.github/workflows/branch.yaml +++ b/.github/workflows/branch.yaml @@ -81,7 +81,7 @@ jobs: echo "cicd-bot-telegram-token=$(./bin/sc stack secret-get -s dist cicd-bot-telegram-token)" >> $GITHUB_OUTPUT echo "cicd-bot-telegram-chat-id=$(./bin/sc stack secret-get -s dist cicd-bot-telegram-chat-id)" >> $GITHUB_OUTPUT - name: upload bin directory artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: bin-tools path: bin @@ -121,7 +121,7 @@ jobs: go build -ldflags "-s -w" -o dist/${GOOS}-${GOARCH}/sc${EXT} ./cmd/sc tar -czf .sc/stacks/dist/bundle/sc-${GOOS}-${GOARCH}.tar.gz -C dist/${GOOS}-${GOARCH} sc${EXT} - name: upload build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: sc-${{ matrix.os }}-${{ matrix.arch }} path: .sc/stacks/dist/bundle/sc-${{ matrix.os }}-${{ matrix.arch }}.tar.gz @@ -155,7 +155,7 @@ jobs: run: | go build -a -installsuffix cgo -ldflags "-s -w" -o ${{ matrix.output }} ./cmd/${{ matrix.cmd }} - name: upload ${{ matrix.target }} binary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ matrix.target }}-binary path: ${{ matrix.output }} @@ -176,7 +176,7 @@ jobs: mkdir -p bin go build -ldflags "-s -w" -a -installsuffix cgo -o bin/github-actions ./cmd/github-actions - name: upload github-actions-staging binary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: github-actions-staging-binary path: bin/github-actions diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 30e1bf4c..b9967966 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -106,7 +106,7 @@ jobs: path: docs/schemas key: schemas-${{ github.run_id }} - name: upload bin directory artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: bin-tools path: bin @@ -148,7 +148,7 @@ jobs: tar -czf .sc/stacks/dist/bundle/sc-${GOOS}-${GOARCH}.tar.gz -C dist/${GOOS}-${GOARCH} sc${EXT} cp .sc/stacks/dist/bundle/sc-${GOOS}-${GOARCH}.tar.gz .sc/stacks/dist/bundle/sc-${GOOS}-${GOARCH}-v${VERSION}.tar.gz - name: upload build artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: sc-${{ matrix.os }}-${{ matrix.arch }} # Match both versioned (sc-os-arch-vX.Y.Z.tar.gz) AND unversioned (sc-os-arch.tar.gz). @@ -189,7 +189,7 @@ jobs: run: | go build -a -installsuffix cgo -ldflags "-s -w -X=github.com/simple-container-com/api/internal/build.Version=${VERSION}" -o ${{ matrix.output }} ./cmd/${{ matrix.cmd }} - name: upload ${{ matrix.target }} binary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ matrix.target }}-binary path: ${{ matrix.output }} @@ -213,7 +213,7 @@ jobs: mkdir -p bin go build -ldflags "-s -w -X=github.com/simple-container-com/api/internal/build.Version=${VERSION}" -a -installsuffix cgo -o bin/github-actions ./cmd/github-actions - name: upload github-actions-staging binary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: github-actions-staging-binary path: bin/github-actions @@ -248,7 +248,7 @@ jobs: run: | docker run --rm -v $PWD/docs:/docs -w /docs python:3.9.18 sh -c "pip install -r requirements.txt && PATH=\$PATH:~/.local/bin mkdocs build" - name: upload docs artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: docs-site path: docs/site