Skip to content

Commit

Permalink
revertme: (AppMap) Create the baseline AppMap archive
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinbyrne committed Nov 1, 2023
1 parent 24b46d3 commit 49346df
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@ on:
- cron: '0 0 * * 0'

permissions:
# Allows the EndBug/add-and-commit step to commit the package manager changes,
# adding the AppMap language library and configuration file appmap.yml.
# Once the EndBug/add-and-commit is removed, this permission can be removed,
# unless you need it for other reasons.
contents: write

# Allows the getappmap/archive-action to write a PR comment with the
# AppMap configuration status.
pull-requests: write

jobs:
Expand All @@ -38,9 +31,6 @@ jobs:
distribution: 'adopt'
cache: maven

# Begin AppMap CI language agent installation
# This snippet can be safely removed once the AppMap language agent has been
# added to the project dependencies, and appmap.yml has been created.
- name: Install AppMap tools
id: install-appmap
uses: getappmap/install-action@v1
Expand All @@ -50,7 +40,14 @@ jobs:
uses: EndBug/add-and-commit@v9
with:
message: "ci: Add AppMap language agent and appmap.yml"
# End AppMap CI language agent installation

- name: Maven Test
run: ./mvnw test
run: ./mvnw test

# Begin AppMap bootstrap archive step
- name: Archive AppMaps
id: appmap-bootstrap-archive-appmaps
uses: getappmap/archive-action@v1
with:
revision: ${{ github.event.pull_request.base.sha }}
# End AppMap bootstrap archive step

0 comments on commit 49346df

Please sign in to comment.