X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/0b9b7dbdab8c14bb8c33165583e3b540046944e7..2893c42176903c8b6c28c46ff9e046861328b6a8:/.github/workflows/upload_binary.yml diff --git a/.github/workflows/upload_binary.yml b/.github/workflows/upload_binary.yml index 39a9887..6bb1d23 100644 --- a/.github/workflows/upload_binary.yml +++ b/.github/workflows/upload_binary.yml @@ -4,13 +4,17 @@ on: release: types: [published] +permissions: + contents: read + jobs: build: + permissions: + contents: write # for actions/upload-release-asset to upload release asset runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - python-version: [3.7] os: [windows-2019, ubuntu-20.04, macos-latest] include: - os: windows-2019 @@ -27,12 +31,12 @@ jobs: executable_mime: "application/x-mach-binary" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + - name: Set up latest Python + uses: actions/setup-python@v3 with: - python-version: ${{ matrix.python-version }} + python-version: "*" - name: Install dependencies run: |