diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 8afc4522..1e2245d8 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -38,10 +38,10 @@ jobs: uses: actions/configure-pages@v4 - name: Upload artifact - uses: actions/upload-pages-artifact@v2 + uses: actions/upload-pages-artifact@v3 with: path: "/home/runner/work/herolib/herolib/docs" - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v3 + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/hero_build_all.yml b/.github/workflows/hero_build.yml similarity index 97% rename from .github/workflows/hero_build_all.yml rename to .github/workflows/hero_build.yml index 3f6f7d6c..cffee562 100644 --- a/.github/workflows/hero_build_all.yml +++ b/.github/workflows/hero_build.yml @@ -14,6 +14,7 @@ on: jobs: build: timeout-minutes: 60 + if: startsWith(github.ref, 'refs/tags/') strategy: fail-fast: false matrix: @@ -31,6 +32,7 @@ jobs: os: macos-13 short-name: macos-i64 runs-on: ${{ matrix.os }} + steps: - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" @@ -54,7 +56,6 @@ jobs: run: | set -e v -w -d use_openssl -enable-globals cli/hero.v -o cli/hero-${{ matrix.target }} - - name: Upload uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/hero_build_linux.yml b/.github/workflows/test.yml similarity index 100% rename from .github/workflows/hero_build_linux.yml rename to .github/workflows/test.yml