build:
runs-on: ubuntu-20.04
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Setup .NET Core
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.402
run: ./build.sh full
- name: Checkout APITool
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
repository: TizenAPI/APITool
path: .apitool
- uses: actions/checkout@v2
- name: Setup .NET Core
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.402
runs-on: ubuntu-20.04
steps:
- name: Setup .NET Core
- uses: actions/setup-dotnet@v1
+ uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.x
- name: Add Labels
if: ${{ steps.metadata.outputs.data }}
- uses: actions/github-script@v2
+ uses: actions/github-script@v6
env:
BRANCH_METADATA: ${{ steps.metadata.outputs.data }}
with:
ref: ${{ env.TARGET_BRANCH }}
fetch-depth: 0
- - uses: actions/setup-dotnet@v1
+ - uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.102'
run: |
VERSION=$VERSION_PREFIX.$((10000+$(git rev-list --count HEAD)))
echo VERSION=$VERSION
- echo "::set-output name=version::$VERSION"
+ echo "version=$VERSION" >> $GITHUB_OUTPUT
- name: Build
env:
TARGETS="${TARGETS} $x"
fi
done
- echo "::set-output name=targets::${TARGETS}"
+ echo "targets=${TARGETS}" >> $GITHUB_OUTPUT
- name: Trigger Release
uses: actions/github-script@v4
- name: Find Pull Request
id: pull_request
- uses: actions/github-script@v2
+ uses: actions/github-script@v6
env:
WORKFLOW_HEAD_SHA: ${{ github.event.workflow_run.head_sha }}
with:
- name: Report Error if Failure
if: ${{ github.event.workflow_run.conclusion == 'failure' }}
- uses: actions/github-script@v2
+ uses: actions/github-script@v6
env:
PR_NUMBER: ${{ steps.pull_request.outputs.number }}
with: