Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov committed Apr 9, 2024
1 parent 6718109 commit 38dd533
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 18 deletions.
15 changes: 5 additions & 10 deletions .github/workflows/dev_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1

- name: Setup AMXXPawn Compiler
uses: ./
Expand All @@ -20,16 +20,11 @@ jobs:

- name: Verify compiler
run: |
which amxxpc
echo "includePath: $includePath"
echo "which amxxpc: $(which amxxpc)"
echo "includePath directory list: `$includePath`"
ls -l $includePath
echo "scriptingPath: $includePath"
echo "scriptingPath directory list: `$scriptingPath`"
ls -l $scriptingPath
cd $scriptingPath
./amxxpc admin.sma
cd include
amxxpc ../admin.sma
amxxpc __tests__/compile.sma
1 change: 1 addition & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
* @rumblefrog
* @wopox1337
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 RumbleFrog
Copyright (c) 2019 woppox1337

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ See [action.yml](https://github.com/wopox1337/setup-amxxpawn/blob/master/action.

```yaml
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: wopox1337/setup-amxxpawn@master
with:
Expand All @@ -33,7 +33,7 @@ jobs:

name: AMXX version ${{ matrix.amxx-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup AMXX
uses: wopox1337/setup-amxxpawn@master
Expand All @@ -52,7 +52,7 @@ jobs:

name: AMXX version ${{ matrix.amxx-version }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4

- name: Setup AMXX
id: setup_amxx
Expand All @@ -65,5 +65,3 @@ jobs:
amxxpc -iAnotherIncludeDirectory plugin.sma -o output/plugin.amxx
echo Plugin version ${{ steps.setup_amxx.outputs.plugin-version }}
```
A complete workflow example can be found [here](https://github.com/Sarrus1/DiscordWebhookAPI/blob/master/.github/workflows/master.yml).
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Setup AMXXPawn Compiler'
author: 'rumblefrog'
author: 'wopox1337'
description: 'Install and setup AMXXPawn compiler'
inputs:
version:
Expand All @@ -24,7 +24,7 @@ outputs:
version-file:
description: 'Version of the .sma file'
runs:
using: 'node16'
using: 'node20'
main: 'lib/index.js'
branding:
icon: 'command'
Expand Down

0 comments on commit 38dd533

Please sign in to comment.