OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Fix deprecated set-output and save-state commands
Christophe Bliarda99bcbb50e59
diff --git a/.github/workflows/brakeman-scan-core.yml b/.github/workflows/brakeman-scan-core.ymlindex c992337a5cf..78e009ce71b 100644--- a/.github/workflows/brakeman-scan-core.yml+++ b/.github/workflows/brakeman-scan-core.yml@@ -23,7 +23,7 @@ jobs:runs-on: ubuntu-lateststeps:- name: Checkout- uses: actions/checkout@v2+ uses: actions/checkout@v3- name: Setup Rubyuses: ruby/setup-ruby@v1diff --git a/.github/workflows/codeql-scan-core.yml b/.github/workflows/codeql-scan-core.ymlindex 5175d76da32..851878a55db 100644--- a/.github/workflows/codeql-scan-core.yml+++ b/.github/workflows/codeql-scan-core.yml@@ -24,7 +24,7 @@ jobs:steps:- name: Checkout repository- uses: actions/checkout@v2+ uses: actions/checkout@v3- name: Initialize CodeQLuses: github/codeql-action/init@v2diff --git a/.github/workflows/create-merge-release-into-dev-pr.yml b/.github/workflows/create-merge-release-into-dev-pr.ymlindex 310d82cfcb6..42db17e554c 100644--- a/.github/workflows/create-merge-release-into-dev-pr.yml+++ b/.github/workflows/create-merge-release-into-dev-pr.yml@@ -23,7 +23,7 @@ jobs:exit 1fi- echo "::set-output name=branch::${BRANCH}"+ echo "branch=${BRANCH}" >> $GITHUB_OUTPUTcrowdin:permissions:diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.ymlindex 45a69062707..65572273c60 100644--- a/.github/workflows/crowdin.yml+++ b/.github/workflows/crowdin.yml@@ -25,8 +25,7 @@ jobs:exit 1fi- echo "::set-output name=branch::${BRANCH}"- echo "::set-output name=crowdin_release_branch::release"+ echo "branch=${BRANCH}" >> $GITHUB_OUTPUTcrowdin:permissions:@@ -42,7 +41,7 @@ jobs:- dev- "${{ needs.setup.outputs.latest_release_branch }}"steps:- - uses: actions/checkout@v2+ - uses: actions/checkout@v3with:ref: ${{ matrix.branch }}fetch-depth: 1@@ -54,9 +53,9 @@ jobs:run: |echo "Setting crowdin branch from $BRANCH"if [ "$BRANCH" = "dev" ]; then- echo "::set-output name=crowdin_branch::dev"+ echo "crowdin_branch=dev" >> $GITHUB_OUTPUTelse- echo "::set-output name=crowdin_branch::release"+ echo "crowdin_branch=release" >> $GITHUB_OUTPUTfi- name: "Updating translations"uses: crowdin/[email protected]diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.ymlindex e36498c59fd..d909608a35a 100644--- a/.github/workflows/docker.yml+++ b/.github/workflows/docker.yml@@ -19,7 +19,7 @@ jobs:env:INPUT_BUILDOPTIONS: --pullsteps:- - uses: actions/checkout@master+ - uses: actions/checkout@v3- name: Prepare docker filesrun: |cp ./docker/prod/Dockerfile ./Dockerfilediff --git a/.github/workflows/eslint-core.yml b/.github/workflows/eslint-core.ymlindex 21ca14ff53b..0e7a685d6f5 100644--- a/.github/workflows/eslint-core.yml+++ b/.github/workflows/eslint-core.yml@@ -14,7 +14,7 @@ jobs:name: eslintruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v2+ - uses: actions/checkout@v3with:fetch-depth: 0- uses: opf/action-eslint@v2diff --git a/.github/workflows/pullpreview.yml b/.github/workflows/pullpreview.ymlindex aba4e13f9fc..241cfd8ba2b 100644--- a/.github/workflows/pullpreview.yml+++ b/.github/workflows/pullpreview.yml@@ -22,7 +22,7 @@ jobs:runs-on: ubuntu-latesttimeout-minutes: 30steps:- - uses: actions/checkout@v2+ - uses: actions/checkout@v3- name: Generate .env.pullpreview filerun: |echo "OP_ADMIN_USER_SEEDER_FORCE_PASSWORD_CHANGE=off" >> .env.pullpreviewdiff --git a/.github/workflows/rubocop-core.yml b/.github/workflows/rubocop-core.ymlindex ba55bbb1f52..2f8c1e6ff4a 100644--- a/.github/workflows/rubocop-core.yml+++ b/.github/workflows/rubocop-core.yml@@ -13,7 +13,7 @@ jobs:name: rubocopruns-on: ubuntu-lateststeps:- - uses: actions/checkout@v2+ - uses: actions/checkout@v3with:fetch-depth: 0- uses: ruby/setup-ruby@v1diff --git a/.github/workflows/test-core.yml b/.github/workflows/test-core.ymlindex 753805ac9c2..49759d1ad90 100644--- a/.github/workflows/test-core.yml+++ b/.github/workflows/test-core.yml@@ -28,9 +28,9 @@ jobs:CI_RETRY_COUNT: 3LOCAL_DEV_CHECK: 1steps:- - uses: actions/checkout@v2+ - uses: actions/checkout@v3- name: cache- uses: actions/cache@v2+ uses: actions/cache@v3with:path: /tmp/cachekey: ${{ runner.os }}-ruby32-core-tests-units-${{ hashFiles('**/Gemfile.lock') }}@@ -58,9 +58,9 @@ jobs:CAPYBARA_AWS_ACCESS_KEY_ID: "${{ secrets.CAPYBARA_AWS_ACCESS_KEY_ID }}"CAPYBARA_AWS_SECRET_ACCESS_KEY: "${{ secrets.CAPYBARA_AWS_SECRET_ACCESS_KEY }}"steps:- - uses: actions/checkout@v2+ - uses: actions/checkout@v3- name: cache- uses: actions/cache@v2+ uses: actions/cache@v3with:path: /tmp/cachekey: ${{ runner.os }}-ruby32-core-tests-features-${{ hashFiles('**/Gemfile.lock') }}@@ -81,11 +81,11 @@ jobs:if: github.repository == 'opf/openproject'runs-on: [ubuntu-latest]steps:- - uses: actions/checkout@v2+ - uses: actions/checkout@v3- uses: ruby/setup-ruby@v1with:bundler-cache: true- - uses: actions/setup-node@v2+ - uses: actions/setup-node@v3with:node-version: '14'- run: ./script/api/validate_spec