@@ -87,60 +87,60 @@ jobs:
8787 sudo echo "3.0 (native)" > debian/source/format
8888 dpkg-buildpackage -us -uc
8989
90- build-linux-packages-for-ppa :
91- needs : test-enviroment-variabiles
92- runs-on : ubuntu-latest
93- steps :
94- - uses : actions/checkout@v2
95- - name : Install dependencies
96- run : |
97- sudo add-apt-repository ppa:jyrki-pulliainen/dh-virtualenv
98- sudo apt-get update
99- sudo apt-get install build-essential debhelper devscripts equivs dh-virtualenv python3.8 gnupg gnupg2
100-
101- - uses : oprypin/find-latest-tag@v1
102- with :
103- repository : createstructure/createstructure
104- releases-only : true
105- id : latest
106-
107- - name : Set envirorment varible(s)
108- run : |
109- echo "::set-output name=PUSH_PATH::$(curl -sL https://api.github.com/repos/createstructure/createstructure/releases/latest | jq -r '.upload_url')"
110- echo "::set-output name=VERSION_TAG::$(echo ${{ steps.latest.outputs.tag }} | sed 's/v//')"
111- echo "::set-output name=TAR_FILE::createstructure_$(echo ${{ steps.latest.outputs.tag }} | sed 's/v//').orig.tar.gz"
112- echo "::set-output name=DEB_FILE::createstructure_$(echo ${{ steps.latest.outputs.tag }} | sed 's/v//')_amd64.deb"
113- echo "::set-output name=CHANGES_FILE::createstructure_$(echo ${{ steps.latest.outputs.tag }} | sed 's/v//')_source.changes"
114- echo "::set-output name=NUPKG_FILE::createstructure_$(echo ${{ steps.latest.outputs.tag }} | sed 's/v//').nupkg"
115- echo "::set-output name=NUPKG_FILE_PATH::./choco/createstructure_$(echo ${{ steps.latest.outputs.tag }} | sed 's/v//').nupkg"
116- id : envirorment-variables
117-
118- - name : gpg import
119- run : |
120- #echo "${{ secrets.GPG_KEY }}" > key.txt
121- #LC_ALL=C tr -cd 0-9a-fA-F < key.txt | xxd -r -p > key.asc
122- #gpg --batch --passphrase ${{ secrets.GPG_PWS }} --import key.asc
123- #sudo echo "export GPGKEY=${{ secrets.GPG_KEY }}" >> ~/.bashrc
124- echo "${{ secrets.GPG_PUBKEY }}" > pubkey.txt
125- echo "${{ secrets.GPG_SECKEY }}" > seckey.txt
126- LC_ALL=C tr -cd 0-9a-fA-F < pubkey.txt | xxd -r -p > pubkey.asc
127- LC_ALL=C tr -cd 0-9a-fA-F < seckey.txt | xxd -r -p > seckey.asc
128- gpg --batch --import pubkey.asc
129- gpg --batch --passphrase ${{ secrets.GPG_PWS }} --import seckey.asc
130- gpg --list-secret-keys
131- sudo echo "export GPGKEY=${{ secrets.GPG_KEY_ID }}" >> ~/.bashrc
132- gpgconf --kill gpg-agent
133-
134- - name : Create Debian package
135- run : |
136- tar -czvf ${{ steps.envirorment-variables.outputs.TAR_FILE }} debian/
137- cd ./debian/
138- sudo debuild -S -sa -k${{ secrets.GPG_IDENTIFICATOR }} -p"gpg --batch --passphrase ${{ secrets.GPG_PWS }} --pinentry-mode loopback"
90+ # build-linux-packages-for-ppa:
91+ # needs: test-enviroment-variabiles
92+ # runs-on: ubuntu-latest
93+ # steps:
94+ # - uses: actions/checkout@v2
95+ # - name: Install dependencies
96+ # run: |
97+ # sudo add-apt-repository ppa:jyrki-pulliainen/dh-virtualenv
98+ # sudo apt-get update
99+ # sudo apt-get install build-essential debhelper devscripts equivs dh-virtualenv python3.8 gnupg gnupg2
100+
101+ # - uses: oprypin/find-latest-tag@v1
102+ # with:
103+ # repository: createstructure/createstructure
104+ # releases-only: true
105+ # id : latest
106+
107+ # - name: Set envirorment varible(s)
108+ # run: |
109+ # echo "::set-output name=PUSH_PATH::$(curl -sL https://api.github.com/repos/createstructure/createstructure/releases/latest | jq -r '.upload_url')"
110+ # echo "::set-output name=VERSION_TAG::$(echo ${{ steps.latest.outputs.tag }} | sed 's/v//')"
111+ # echo "::set-output name=TAR_FILE::createstructure_$(echo ${{ steps.latest.outputs.tag }} | sed 's/v//').orig.tar.gz"
112+ # echo "::set-output name=DEB_FILE::createstructure_$(echo ${{ steps.latest.outputs.tag }} | sed 's/v//')_amd64.deb"
113+ # echo "::set-output name=CHANGES_FILE::createstructure_$(echo ${{ steps.latest.outputs.tag }} | sed 's/v//')_source.changes"
114+ # echo "::set-output name=NUPKG_FILE::createstructure_$(echo ${{ steps.latest.outputs.tag }} | sed 's/v//').nupkg"
115+ # echo "::set-output name=NUPKG_FILE_PATH::./choco/createstructure_$(echo ${{ steps.latest.outputs.tag }} | sed 's/v//').nupkg"
116+ # id: envirorment-variables
117+
118+ # - name: gpg import
119+ # run: |
120+ # #echo "${{ secrets.GPG_KEY }}" > key.txt
121+ # #LC_ALL=C tr -cd 0-9a-fA-F < key.txt | xxd -r -p > key.asc
122+ # #gpg --batch --passphrase ${{ secrets.GPG_PWS }} --import key.asc
123+ # #sudo echo "export GPGKEY=${{ secrets.GPG_KEY }}" >> ~/.bashrc
124+ # echo "${{ secrets.GPG_PUBKEY }}" > pubkey.txt
125+ # echo "${{ secrets.GPG_SECKEY }}" > seckey.txt
126+ # LC_ALL=C tr -cd 0-9a-fA-F < pubkey.txt | xxd -r -p > pubkey.asc
127+ # LC_ALL=C tr -cd 0-9a-fA-F < seckey.txt | xxd -r -p > seckey.asc
128+ # gpg --batch --import pubkey.asc
129+ # gpg --batch --passphrase ${{ secrets.GPG_PWS }} --import seckey.asc
130+ # gpg --list-secret-keys
131+ # sudo echo "export GPGKEY=${{ secrets.GPG_KEY_ID }}" >> ~/.bashrc
132+ # gpgconf --kill gpg-agent
133+
134+ # - name: Create Debian package
135+ # run: |
136+ # tar -czvf ${{ steps.envirorment-variables.outputs.TAR_FILE }} debian/
137+ # cd ./debian/
138+ # sudo debuild -S -sa -k${{ secrets.GPG_IDENTIFICATOR }} -p"gpg --batch --passphrase ${{ secrets.GPG_PWS }} --pinentry-mode loopback"
139139
140- - name : Checks files
141- run : |
142- sudo apt install tree
143- tree
140+ # - name: Checks files
141+ # run: |
142+ # sudo apt install tree
143+ # tree
144144
145145 test-choco :
146146 needs : test-enviroment-variabiles
0 commit comments