diff --git a/.github/workflows/pyinstaller.yml b/.github/workflows/pyinstaller.yml index a735f56..bf70e96 100644 --- a/.github/workflows/pyinstaller.yml +++ b/.github/workflows/pyinstaller.yml @@ -51,11 +51,6 @@ jobs: spec: 'a10y.spec' requirements: 'requirements.txt' upload_exe_with_name: 'a10y-linux-x86_64' - - name: Upload Artifact - uses: actions/upload-artifact@v2 - with: - name: a10y-linux-x86_64 - path: . pyinstaller-build-win: runs-on: windows-latest @@ -67,11 +62,6 @@ jobs: spec: 'a10y.spec' requirements: 'requirements.txt' upload_exe_with_name: 'a10y-win.exe' - - name: Upload Artifact - uses: actions/upload-artifact@v2 - with: - name: a10y-win.exe - path: . pyinstaller-build-macos: runs-on: macos-latest @@ -83,21 +73,9 @@ jobs: spec: 'a10y.spec' requirements: 'requirements.txt' upload_exe_with_name: 'a10y-macos.exe' + + upload-artifacts: + runs-on: ubuntu-latest + steps: - name: Upload Artifact uses: actions/upload-artifact@v2 - with: - name: a10y-macos.exe - path: . - - # upload-artifacts: - # runs-on: ubuntu-latest - # steps: - # - name: upload linux artifact - # uses: actions/upload-release-asset@v1 - # env: - # GITHUB_TOKEN: ${{ github.token }} - # with: - # upload_url: ${{ steps.create_release.outputs.upload_url }} - # asset_path: a10y-linux-x86_64 - # asset_name: a10y-linux-x86_64.gz - # asset_content_type: application/gzip diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3d553d1..46c1733 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,9 @@ jobs: run: | tag=$(git describe --tags --abbrev=0) echo "Creating release for tag $tag" + ls . ls a10y-linux-x86_64 ls a10y-win.exe ls a10y-macos.exe + ls dist gh release create "$tag" a10y-linux-x86_64 a10y-win.exe a10y-macos.exe