DImuthuUpe is testing out GitHub Actions #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Actions Demo | |
run-name: ${{ github.actor }} is testing out GitHub Actions | |
on: | |
release: | |
types: [published] | |
jobs: | |
Explore-GitHub-Actions: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- run: echo "The ${{ github.repository }} repository has been cloned to the runner." | |
- name: Print the tag name | |
run: | | |
echo ${{ github.ref }} | |
- name: List files in the repository | |
run: | | |
ls ${{ github.workspace }} | |
- run: echo "This job's status is ${{ job.status }}." | |
- run: mvn clean install | |
- name: List files in the repository | |
run: | | |
ls ${{ github.workspace }} | |
- name: Upload file 1 | |
run: | | |
gh release upload ${{github.event.release.tag_name}} agent/service/target/MFT-Agent-0.01-bin.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload file 2 | |
run: | | |
gh release upload ${{github.event.release.tag_name}} standalone-service/target/Standalone-Service-0.01-bin.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |