From 551ca1b13c3a8bb649cfbbf712ce60ff602922e7 Mon Sep 17 00:00:00 2001 From: Bye <bye@byecorps.com> Date: Wed, 3 Apr 2024 20:11:06 +0100 Subject: [PATCH] Create publish-linux.yml --- .github/workflows/publish-linux.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/publish-linux.yml diff --git a/.github/workflows/publish-linux.yml b/.github/workflows/publish-linux.yml new file mode 100644 index 0000000..b84745e --- /dev/null +++ b/.github/workflows/publish-linux.yml @@ -0,0 +1,27 @@ +name: Publish Linux build + +on: + push: + branches: + - "master" + +jobs: + build: + permissions: + contents: write + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [18.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm run publish + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -- GitLab