mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 11:46:38 +08:00
cleaner action names (#5479)
This commit is contained in:
parent
3742f2b0d6
commit
302178db78
|
@ -1,4 +1,4 @@
|
|||
name: build
|
||||
name: main-build
|
||||
|
||||
on:
|
||||
push:
|
||||
|
@ -6,12 +6,10 @@ on:
|
|||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
build-merged:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- name: Use Node.js
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
|
@ -33,11 +31,6 @@ jobs:
|
|||
user_email: 'github-actions[bot]@users.noreply.github.com'
|
||||
publish_branch: main
|
||||
publish_dir: ../build
|
||||
- name: deploy-release-tag
|
||||
if: github.ref == 'refs/heads/main' && github.repository == 'abapGit/abapGit'
|
||||
env:
|
||||
GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: ./ci/deploy-release-tag.sh
|
||||
- name: Upload build artifact
|
||||
if: always()
|
||||
uses: actions/upload-artifact@main
|
||||
|
@ -45,6 +38,20 @@ jobs:
|
|||
name: zabapgit_standalone.abap
|
||||
path: ./zabapgit.abap
|
||||
retention-days: 7
|
||||
|
||||
auto-tag:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '16'
|
||||
- name: deploy-release-tag
|
||||
if: github.ref == 'refs/heads/main' && github.repository == 'abapGit/abapGit'
|
||||
env:
|
||||
GITHUB_API_KEY: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: ./ci/deploy-release-tag.sh
|
||||
|
||||
coverage:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 5
|
|
@ -1,4 +1,4 @@
|
|||
name: test
|
||||
name: test-pr
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
@ -7,7 +7,7 @@ permissions:
|
|||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
lint-and-merge:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
||||
|
@ -27,7 +27,8 @@ jobs:
|
|||
name: zabapgit_standalone.abap
|
||||
path: ./zabapgit.abap
|
||||
retention-days: 7
|
||||
test:
|
||||
|
||||
unit-tests:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
steps:
|
Loading…
Reference in New Issue
Block a user