File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is a basic workflow to help you get started with Actions
2+
3+ name : CI
4+
5+ # Controls when the workflow will run
6+ on :
7+ schedule :
8+ - cron : " 0 0 * * *"
9+ # Triggers the workflow on push or pull request events but only for the "main" branch
10+ push :
11+ branches : [ "main" ]
12+
13+
14+ # Allows you to run this workflow manually from the Actions tab
15+ workflow_dispatch :
16+
17+ # A workflow run is made up of one or more jobs that can run sequentially or in parallel
18+ jobs :
19+ # This workflow contains a single job called "build"
20+ build :
21+ # The type of runner that the job will run on
22+ runs-on : ubuntu-latest
23+
24+ # Steps represent a sequence of tasks that will be executed as part of the job
25+ steps :
26+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
27+ - uses : actions/checkout@v4
28+
29+
30+ # Runs a single command using the runners shell
31+ - name : Run a one-line script
32+ run : echo Hello, world!
33+
34+ # Runs a set of commands using the runners shell
35+ - name : Run a multi-line script
36+ run : |
37+ echo Add other actions to build,
38+ echo test, and deploy your project.
39+
40+ - name : Send request
41+ id : myRequest
42+ uses : fjogeleit/http-request-action@v1
43+ with :
44+ url : ' https://api.modrinth.com/project/BYfVnHa7/version'
45+ method : ' GET'
46+ - name : Show Response
47+ run : |
48+ echo ${{ steps.myRequest.outputs.response }}
You can’t perform that action at this time.
0 commit comments