diff --git a/.github/workflows/foreman_plugin.yml b/.github/workflows/foreman_plugin.yml index c807358..d3bb6ba 100644 --- a/.github/workflows/foreman_plugin.yml +++ b/.github/workflows/foreman_plugin.yml @@ -137,7 +137,7 @@ jobs: ruby-version: ${{ matrix.ruby }} bundler-cache: true - name: Archive Gemfile.lock - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: Gemfile-${{ env.ARTIFACT_SUFFIX }}.lock path: Gemfile.lock @@ -161,7 +161,7 @@ jobs: run: bundle exec npm ci --no-audit - name: Archive package-lock.json if: ${{ hashFiles(format('{0}/package.json', inputs.plugin), format('{0}/test/integration/**', inputs.plugin)) != '' && !contains(matrix.task, 'seed') }} - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: package-lock-${{ env.ARTIFACT_SUFFIX }}.json path: | @@ -178,7 +178,7 @@ jobs: bundle exec rake webpack:compile - name: Archive all_react_app_exports if: ${{ hashFiles(format('{0}/package.json', inputs.plugin), format('{0}/test/integration/**', inputs.plugin)) != '' && contains(matrix.task, 'test') }} - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: all_react_app_exports-${{ env.ARTIFACT_SUFFIX }}.js path: webpack/assets/javascripts/all_react_app_exports.js @@ -188,7 +188,7 @@ jobs: - name: Run rake ${{ matrix.task }} run: bundle exec rake ${{ matrix.task }} - name: Upload logs - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 if: ${{ failure() && contains(matrix.task, 'test') }} with: name: logs-${{ env.ARTIFACT_SUFFIX }} diff --git a/.github/workflows/foreman_plugin_js.yml b/.github/workflows/foreman_plugin_js.yml index 1560459..a1a2371 100644 --- a/.github/workflows/foreman_plugin_js.yml +++ b/.github/workflows/foreman_plugin_js.yml @@ -133,7 +133,7 @@ jobs: run: npm ci --no-audit --legacy-peer-deps working-directory: ${{ inputs.plugin }} - name: Archive package-lock.json - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: package-lock-${{ env.ARTIFACT_SUFFIX }}.json path: | diff --git a/.github/workflows/rubocop.yml b/.github/workflows/rubocop.yml index 425df94..2a245a5 100644 --- a/.github/workflows/rubocop.yml +++ b/.github/workflows/rubocop.yml @@ -46,7 +46,7 @@ jobs: bundler-cache: true working-directory: ${{ inputs.working-directory }} - name: Archive Gemfile.lock - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: Gemfile-theforeman-actions-rubocop-ruby-${{ inputs.ruby }}.lock path: Gemfile.lock diff --git a/.github/workflows/test-gem.yml b/.github/workflows/test-gem.yml index 4642f1f..71e8e1c 100644 --- a/.github/workflows/test-gem.yml +++ b/.github/workflows/test-gem.yml @@ -71,7 +71,7 @@ jobs: bundler-cache: true working-directory: ${{ inputs.working-directory }} - name: Archive Gemfile.lock - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: Gemfile-theforeman-actions-test-gem-ruby-${{ matrix.ruby }}.lock path: Gemfile.lock