Repository: IITH-Compilers/IR2Vec (language: python)

Issue:
GitHub Action to publish failing on merge
[Publish Action log](https://github.com/IITH-Compilers/IR2Vec/runs/1873846890?check_suite_focus=true)


Discussion / hints:

Fix patch:
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 222f21c4..0de92a30 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -33,17 +33,7 @@ jobs:
       run: cd build && cmake -DEigen3_DIR=./eigen-build ../src
     - name: make
       run: cd build && make -j8
-    - name: moving the binaries
-      run: |
-        mkdir -p binaries && mv build/bin/* ./binaries
-        echo "Binaries committed by GH actions corresponding to the built version of commit $(git rev-parse HEAD)" > ./binaries/README
-    - name: Commit files
-      run: |
-        git config --local user.email "action@github.com"
-        git config --local user.name "GitHub Action"
-        git add binaries/
-        git commit -m "Pushing binary for $(git rev-parse HEAD)"
-    - name: Push changes
-      uses: ad-m/github-push-action@master
+    - uses: actions/upload-artifact@v2
       with:
-        github_token: ${{ secrets.GITHUB_TOKEN }}
+        name: ir2vec
+        path: build/bin/ir2vec
diff --git a/README.md b/README.md
index 127f49c2..b0bb9b40 100644
--- a/README.md
+++ b/README.md
@@ -14,7 +14,7 @@ Please see [here](https://compilers.cse.iith.ac.in/projects/ir2vec/) for more de
 
 ## Table Of Contents
 * [Requirements](#requirements)
-* [Binaries](#binaries)
+* [Binaries](#binaries-artifacts)
 * [Building from Source](#building-from-source)
 * [How to generate IR2Vec program representations?](#how-to-generate-ir2vec-program-representations)
 * [Experiments](#experiments)
@@ -36,8 +36,8 @@ Please see [here](https://compilers.cse.iith.ac.in/projects/ir2vec/) for more de
 
 (Experiments are done on an Ubuntu 18.04 machine)
 
-## Binaries
-Binaries are autogenerated for every relevant checkin using GitHub Actions. Latest binaries can be found in the [binaries](./binaries) directory.
+## Binaries - Artifacts
+Binaries are autogenerated for every relevant checkin using GitHub Actions. Such generated artifacts are tagged along with the successful runs of `Publish` workflow and can be found [here](https://github.com/IITH-Compilers/IR2Vec/actions?query=workflow%3APublish).
 
 ## Building from source
 1. `mkdir build && cd build`
diff --git a/binaries/README b/binaries/README
deleted file mode 100644
index d6cb2a50..00000000
--- a/binaries/README
+++ /dev/null
@@ -1,1 +0,0 @@
-Binaries committed by GH actions corresponding to the built version of commit 154226352970869b71e6f14b4c1ca29d718eb385
diff --git a/binaries/ir2vec b/binaries/ir2vec
deleted file mode 100755
index 8e84fcf7..00000000
Binary files a/binaries/ir2vec and /dev/null differ


Test patch:
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c5a0c16e..2489c0c1 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -10,9 +10,6 @@ on:
     - '**.h'
   pull_request:
     branches: [ main ]
-    paths:
-    - '**.cpp'
-    - '**.h'
 
 jobs:
   build: