File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 run : |
2424 mkdir -p /tmp/package
2525 cp -R .sourceknight/package/* /tmp/package
26- cp -R addons/sourcemod/{configs,translations} /tmp/package/common/addons/sourcemod/
26+ cp -R addons/sourcemod/configs /tmp/package/common/addons/sourcemod/
27+ cp -R addons/sourcemod/translations /tmp/package/common/addons/sourcemod/
2728
2829 - name : Upload build archive for test runners
2930 uses : actions/upload-artifact@v3
@@ -33,19 +34,22 @@ jobs:
3334
3435 tag :
3536 name : Tag
36- if : github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
3737 needs : build
3838 runs-on : ubuntu-latest
3939 steps :
4040 - uses : actions/checkout@v3
41+ if : github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
42+
4143 - uses : dev-drprasad/delete-tag-and-release@v0.2.0
44+ if : github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
4245 with :
4346 delete_release : true
4447 tag_name : latest
4548 env :
4649 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4750
4851 - uses : rickstaa/action-create-tag@v1
52+ if : github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
4953 with :
5054 tag : " latest"
5155 github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments