Skip to content

Commit

Permalink
Update Check-in-automation.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuSoysal authored Apr 30, 2023
1 parent 05ef40c commit 372b2e4
Showing 1 changed file with 1 addition and 28 deletions.
29 changes: 1 addition & 28 deletions .github/workflows/Check-in-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,32 +17,5 @@ jobs:
check-in-automation:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'adopt' # Alternative distribution options are available.
- name: Cache Maven packages
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Build
run: mvn compile
- name: Run
- name: Run Checkin-automation
run: docker run -e TEST_EMAIL=${{ secrets.TEST_EMAIL }} -e TEST_PASSWORD=${{ secrets.TEST_PASSWORD }} ghcr.io/mathieusoysal/42-check-in-automation:latest
env:
TEST_EMAIL: ${{ secrets.TEST_EMAIL }}
TEST_PASSWORD: ${{ secrets.TEST_PASSWORD }}

- name: Save trace
uses: JamesIves/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: archive
clean: false
folder: archive
target-folder: archive/${{ github.event.release.tag_name }}

0 comments on commit 372b2e4

Please sign in to comment.