We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29febf2 + 14e888a commit c2c138aCopy full SHA for c2c138a
.github/workflows/ci.yaml
@@ -89,6 +89,18 @@ jobs:
89
name: pgt-linux-x86-64
90
path: /home/runner/.local/bin/pgt
91
if-no-files-found: error
92
+ - name: Upload latest pgt release
93
+ if: ${{ matrix.project == 'pgt' && github.ref == 'refs/heads/main' }}
94
+ run: |
95
+ name=pgt-latest-linux-x86-64
96
+
97
+ # Initialize the latest release
98
+ gh release create "$name" --title "$name" --notes 'Latest linux x86 release of pgt' --repo ${{ github.repository }} 2> /dev/null || true
99
100
+ # Upload the latest release
101
+ gh release upload "$name" "$HOME/.local/bin/pgt" --clobber --repo ${{ github.repository }}
102
+ env:
103
+ GH_TOKEN: ${{ github.token }}
104
all-checks:
105
runs-on: ubuntu-latest
106
name: All Checks Pass
0 commit comments